]> git.dujemihanovic.xyz Git - u-boot.git/commit
microblaze: Fix EMAC Lite initialization
authorNathan Rossi <nathan.rossi@xilinx.com>
Tue, 14 Apr 2015 06:16:39 +0000 (16:16 +1000)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 29 Apr 2015 08:22:25 +0000 (10:22 +0200)
commit127e8a5e4361843dc43cf2f523c66071bbbb9c90
tree1fbe219aa6588e161768081c99b00c295693add9
parentcc555bd4f40a652471df4a3621d45ee57df0ca11
microblaze: Fix EMAC Lite initialization

It is possible for CONFIG_XILINX_EMACLITE to be defined without
XILINX_EMACLITE_BASEADDR being defined as the EMAC Lite driver support
OF init. Check that the driver is enabled and the base address is
available before initializing with a static base address.

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/microblaze-generic/microblaze-generic.c