summaryrefslogtreecommitdiffstats
path: root/wbsio_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'wbsio_spi.c')
-rw-r--r--wbsio_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wbsio_spi.c b/wbsio_spi.c
index 851c87f..e76d09b 100644
--- a/wbsio_spi.c
+++ b/wbsio_spi.c
@@ -82,10 +82,10 @@ int wbsio_check_for_spi(void)
msg_pspew("\nwbsio_spibase = 0x%x\n", wbsio_spibase);
- register_spi_programmer(&spi_programmer_wbsio);
msg_pdbg("%s: Winbond saved on 4 register bits so max chip size is "
"1024 kB!\n", __func__);
max_rom_decode.spi = 1024 * 1024;
+ register_spi_programmer(&spi_programmer_wbsio);
return 0;
}
OpenPOWER on IntegriCloud