pci: mx6: Implement power callback
authorMarek Vasut <marex@denx.de>
Sun, 23 Mar 2014 21:45:40 +0000 (22:45 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 31 Mar 2014 16:28:50 +0000 (18:28 +0200)
commita778aeae051c96319855584c87d1dc3ca7257744
tree0e984333e3de3c6a65af65c67bfe8b48af5783cb
parented2f0e1ffae693d7ff8a727a2efb106ba775cba6
pci: mx6: Implement power callback

Implement a callback to toggle the slot power supply. The callback
can be overriden in case some more complex power supply for the slot
was implemented in hardware, yet for the usual case, one can define
a GPIO which toggles the power to the slot.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Liu Ying <Ying.Liu@freescale.com>
drivers/pci/pcie_imx.c