]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: xilinx_axi_emac: Read dma address using fdtdec_get_addr
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 22 Jun 2017 05:44:55 +0000 (11:14 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:09:27 +0000 (16:09 +0100)
commitdc1fcc423c940692d8d8dd7c8240e83243b34859
treeba340b37532a73c09bb04ea8a214b946e754cc4b
parentd02a0b1fdf6ba3197e0b46f8a8f52e3c5d375506
net: xilinx_axi_emac: Read dma address using fdtdec_get_addr

Read dma address using fdtdec_get_addr as it checks for
address cells and size cells and reads the address
properly. fdtdec_get_int always assume address is of int
size which goes wrong if using it on 64-bit architecture.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/xilinx_axi_emac.c