kmp204x: initial support for PCIe FPGA configuration
authorValentin Longchamp <valentin.longchamp@keymile.com>
Mon, 27 Jan 2014 10:49:12 +0000 (11:49 +0100)
committerYork Sun <yorksun@freescale.com>
Mon, 3 Feb 2014 16:38:51 +0000 (08:38 -0800)
commit27c78e06f2b42bd6285ed104ece23f6c69e42e6f
tree8b607d64fde89ccf5ee28bcb80f01b675e4a7bae
parent47c1180c022bf67615349257dc3de98388bac398
kmp204x: initial support for PCIe FPGA configuration

The PEXHC PCIe configuration mechanism ensures that the FPGA get
configured at power-up. Since all the PCIe devices should be configured
when the kernel start, u-boot has to take care that the FPGA gets
configured also in other reset scenarios, mostly because of possible
configuration change.

The used mechanism is taken from the km_kirkwood design and adapted to
the kmp204x case (slightly different HW and PCIe configuration).

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/keymile/kmp204x/kmp204x.c
board/keymile/kmp204x/pci.c