env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few place
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking awarning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
env: Rename setenv() to env_set()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 <wd
env: Rename setenv() to env_set()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 <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
env: Drop saveenv() in favour of env_save()Use the env_save() function directly now that there is only oneimplementation of saveenv().Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: W
env: Drop saveenv() in favour of env_save()Use the env_save() function directly now that there is only oneimplementation of saveenv().Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Wolfgang Denk <wd@denx.de>Reviewed-by: Tom Rini <trini@konsulko.com>
x86: Add Intel Edison board filesAdd Intel Edison board which is using U-Boot.The patch is based on work done by the following people (in alphabeticalorder): Aiden Park <aiden.park@intel.com>
x86: Add Intel Edison board filesAdd Intel Edison board which is using U-Boot.The patch is based on work done by the following people (in alphabeticalorder): Aiden Park <aiden.park@intel.com> Dukjoon Jeon <dukjoon.jeon@intel.com> eric.park <eric.park@intel.com> Fabien Chereau <fabien.chereau@intel.com> Felipe Balbi <felipe.balbi@linux.intel.com> Scott D Phillips <scott.d.phillips@intel.com> Sebastien Colleur <sebastienx.colleur@intel.com> Steve Sakoman <steve.sakoman@intel.com> Vincent Tinelli <vincent.tinelli@intel.com>In case we're building for Intel Edison, we must have 4096 bytes ofzeroes in the beginning on u-boot.bin. This is done inboard/intel/edison/config.mk.First run sets hardware_id environment variable which is read fromSystem Controller Unit (SCU).Serial number (serial# environment variable) is generated based on eMMCCID.MAC address on USB network interface is unique to the board but kept thesame all over the time.Set mac address from U-Boot using following scheme: OUI = 02:00:86 next 3 bytes of MAC address set from eMMC serial numberThis allows to have a unique mac address across reboot and flashing.Signed-off-by: Vincent Tinelli <vincent.tinelli@intel.com>Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>Reviewed-by: Bin Meng <bmeng.cn@gmail.com>Reviewed-by: Simon Glass <sjg@chromium.org>[bmeng: Add MAINTAINERS file for Intel Edison board]Signed-off-by: Bin Meng <bmeng.cn@gmail.com>