[U-Boot] [PATCH v2 34/40] env: Drop the ACTION typedef

Joe Hershberger joe.hershberger at ni.com
Fri Aug 2 16:55:38 UTC 2019


On Thu, Aug 1, 2019 at 11:10 AM Simon Glass <sjg at chromium.org> wrote:
>
> Avoid using a typedef here which is unnecessary. Add an 'env_' prefix to
> both the enum and its members to make it clear that these are related to
> the environment.
>
> Add an ENV prefix to these two flags so that it is clear what they relate
> to. Also move them to env.h since they are part of the public API. Use an
> enum rather than a #define to tie them together.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>

Acked-by :Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list