]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/prodrive/alpr/fpga.c
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx
[karo-tx-uboot.git] / board / prodrive / alpr / fpga.c
index e7686ad27b52b3b6870d72059537c36b30ffcb9b..1cce798ee6264764c8c40363c189a961357fb457 100644 (file)
@@ -85,9 +85,6 @@ static unsigned long regval;
 /* PROGRAM_SEL_DPR     = LOW */
 int fpga_pre_fn(int cookie)
 {
-       unsigned long   reg;
-
-       reg = in32(GPIO0_IR);
        /* Enable the FPGA Chain */
        SET_GPIO_REG_1(GPIO0_TCR, CONFIG_SYS_GPIO_PROG_EN);
        SET_GPIO_REG_0(GPIO0_ODR, CONFIG_SYS_GPIO_PROG_EN);