toradex: common: unify behaviour when config block is missing
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Mon, 25 Mar 2019 16:18:28 +0000 (17:18 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:10 +0000 (20:30 +0200)
commit43bfc499925ee1f49355974409808a227cb4f9a0
tree8deead891b4e5b51961ff11ef962f387fe566f5b
parent587b13c69c054430f937b6e6967402e8db2a00e6
toradex: common: unify behaviour when config block is missing

If the config block is missing, various things may fail or behave
strangely on certain modules. This patch unifies that behaviour by
using a fake MAC address, until user updates the config block.

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
board/toradex/common/tdx-common.c