]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: cdns: Read address from DT in ofdata_to_platdata
authorMichal Simek <michal.simek@xilinx.com>
Thu, 14 Apr 2016 12:15:47 +0000 (14:15 +0200)
committerHeiko Schocher <hs@denx.de>
Tue, 17 May 2016 06:28:48 +0000 (08:28 +0200)
commita13767bc0ee8ccaf4e7f64192e7f1d408dc7f900
tree88cfd6f574117cd44d93603ae7e5b570de397015
parentaeaec0e682f45b9e0c62c522fafea353931f73ed
i2c: cdns: Read address from DT in ofdata_to_platdata

Extract reading IP base address in function which is designed for it.
Also enable option to read more information from DT in this function.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-cdns.c