06 May, 2020

1 commit

  • Add env_get_offset interface to override static CONFIG_ENV_OFFSET,
    and update env location driver to use env_get_offset. So for different
    storage medium, we are able to store the env at different offset.

    We don't support this feature when CONFIG_ENV_IS_EMBEDDED is set.

    Signed-off-by: Ye Li
    (cherry picked from commit 5b12d7cabb14bab9a95af7460b36c6c85db1b328)
    (cherry picked from commit 565d9002ac59b03d5bc77c6d88f2b93492166b66)

    Ye Li
     

07 Dec, 2019

1 commit


25 Sep, 2019

1 commit

  • Since commit af95f20 ("env: Create a new file for environment functions"),
    a new header file exists.

    So, this commit add a missing header file.

    Fixes:

    include/env.h:158:1: error: unknown type name ‘ulong’; did you mean ‘long’?
    ulong env_get_ulong(const char *name, int base, ulong default_val);
    ^~~~~
    long
    include/env.h:158:49: error: unknown type name ‘ulong’; did you mean ‘long’?
    ulong env_get_ulong(const char *name, int base, ulong default_val);

    Signed-off-by: Pierre-Jean Texier
    Tested-by: Joris Offouga
    Tested-by: Heiko Schocher
    Acked-by: Joe Hershberger

    Pierre-Jean Texier
     

12 Aug, 2019

24 commits