[U-Boot] [PATCHv3 03/10] Kconfig: Add DEPRECATED option

Jagan Teki jagan at amarulasolutions.com
Wed Jun 12 07:33:46 UTC 2019


On Thu, May 30, 2019 at 2:33 AM Tom Rini <trini at konsulko.com> wrote:
>
> Add a new option, CONFIG_DEPRECATED, for code that relies on deprecated
> functionality and has not been converted past the deadline for
> conversion.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  Kconfig | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/Kconfig b/Kconfig
> index a02168690f5b..436308854d0c 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -20,6 +20,13 @@ config BROKEN
>           This option cannot be enabled. It is used as dependency
>           for broken and incomplete features.
>
> +config DEPRECATED
> +       bool
> +       help
> +         This option cannot be enabled.  It it used as a dependency for
> +         code that relies on deprecated features that will be removed and
> +         the conversion deadline has passed.

then, what would be the exact diff b/w broken vs deprecated? I do see
same meaning in terms of code maintenance, though it is working or
non-working.


More information about the U-Boot mailing list