]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm/km: skip FPGA config when already configured
authorValentin Longchamp <valentin.longchamp@keymile.com>
Thu, 5 Jul 2012 05:05:08 +0000 (05:05 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:37 +0000 (14:07 +0200)
commitbcac5b1b2c4f5f44a512dee7b0ac9ed64fd0bed0
tree501ae50ae005f779b4ad2e82120057ea8a6f9168
parentc1b8514a7a94b6b7e4e2bd779ecda16c86248299
arm/km: skip FPGA config when already configured

In order to be able to perform board resets without interrupting the
traffic, the configuration of an already properly configured FPGA is
skipped.

This is because some PCIe FPGAs embed some other function that must
continue to work over reset.

It is then the responsibility of the application to trigger a
reconfiguration when needed. This is done by lowering the FPGA_INIT_B
pin for delaying the configuration to u-boot @ next reboot, and then
lower the FPGA_PROGRAM_B signal.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
board/keymile/km_arm/fpga_config.c