u-boot/board/ti
Sam Protsenko fc228dc96c board: am335x: Set serial# variable
serial# variable is needed to show the device correctly in "fastboot
devices" output. It's useful when we have several devices (in fastboot
mode) connected to single host and want to choose which one to flash.

We can't use omap_die_id_serial() for this, because AM335x lacks
DIE_ID, as can be seen from AM335x TRM. Let's do next:
 - reuse board_serial variable (obtained from EEPROM in
   set_board_info_env() function) to set serial#
 - if board_serial is "unknown", reuse ethaddr variable to set serial#

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
2018-03-16 09:42:24 -04:00
..
am43xx usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions 2018-02-15 13:44:30 +01:00
am57xx ARM: DRA7x/AM57x: Add MMC/SD fixups for rev1.0 and rev 1.1 2018-02-19 16:58:55 +09:00
am335x board: am335x: Set serial# variable 2018-03-16 09:42:24 -04:00
am3517crane Configs: Migrate CONFIG_SYS_I2C_OMAP34XX to CONFIG_SYS_I2C_OMAP24XX 2017-08-09 06:14:13 +02:00
beagle ARM: omap3: beagle: Set 'mtdids' and 'mtdparts' in board file 2018-03-13 21:59:27 -04:00
common env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr() 2017-08-16 08:23:56 -04:00
dra7xx ARM: DRA7x/AM57x: Add MMC/SD fixups for rev1.0 and rev 1.1 2018-02-19 16:58:55 +09:00
evm ARM: omap3: evm: Refactor 'board_eth_init' 2018-01-01 09:04:19 -05:00
ks2_evm env: Fix missed getenv_ulong to env_get_ulong conversion 2018-02-23 10:21:41 -05:00
omap5_uevm usb: hub: identify the hub-device to usb_hub_reset_devices 2017-11-26 02:22:36 +01:00
panda env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
sdp4430 omap4: sdp4430: match the #endif comment to #ifdef 2017-10-27 08:52:22 -04:00
ti814x env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
ti816x env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00