16 Aug, 2017
4 commits
-
Rename this function for consistency with env_get().
Signed-off-by: Simon Glass
-
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass -
Rename this function for consistency with env_set().
Signed-off-by: Simon Glass
-
We are now using an env_ prefix for environment functions. Rename setenv()
for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
21 Mar, 2017
1 commit
-
If the ethernet address environment is set with a valid
ethernet address prevent overriding it as it is most likely
set by the user and he/she doesn't want board code to
automatically override it whatsoever.Signed-off-by: Roger Quadros
Reviewed-by: Tom Rini
08 Feb, 2017
1 commit
-
In u-boot printf has been extended with the %pM formatter to allow
printing of MAC addresses. However buffers that want to store a MAC
address cannot safely get the size. Add a define for this case so the
string of a MAC address can be reliably obtained.Signed-off-by: Olliver Schinagl
Acked-by: Joe Hershberger
29 Jan, 2016
3 commits
-
Move eth_current_changed(), eth_set_current(), eth_mac_skip() and
eth_get_name() into the common file.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Acked-by: Joe Hershberger -
Move the functions which set ethernet environment variables to the common
file.Signed-off-by: Simon Glass
Acked-by: Joe Hershberger -
Only half of the init is actually common. Move that part into a new common
file and call it from driver-model and legacy code. More common functions
will be added in future patches.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Acked-by: Joe Hershberger