]> git.dujemihanovic.xyz Git - u-boot.git/commit
zynq: mtd: nand: Remove hardcoded base addresses
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Fri, 27 Dec 2019 11:47:13 +0000 (04:47 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 14 Jan 2020 08:05:54 +0000 (09:05 +0100)
commit2507ecf18b295e0d115e10a4aa1f8bcaf9a3df84
tree941b628a70db717af22933f1ae11d69f835eab12
parent45397a6ea385d486813f38fdaf37f5a92acaa32c
zynq: mtd: nand: Remove hardcoded base addresses

Remove hardcoded base addresses of smc controller and nand controller.
Get those addresses from dt and replace wherever they are used.
Remove smc and nand base address from header file too.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/include/mach/hardware.h
drivers/mtd/nand/raw/zynq_nand.c