path: root/cli_classic.c
diff options
authorCarl-Daniel Hailfinger <>2011-11-09 23:40:00 +0000
committerCarl-Daniel Hailfinger <>2011-11-09 23:40:00 +0000
commiteaacd2d4e7485d747e4e0bbd54b7bb44cf3fd179 (patch)
tree5e023363074cbe351bc6ded9f20c3f116e6c6f1c /cli_classic.c
parentf382e352ac63108ec0f912ff52b538c99f46c340 (diff)
Register Parallel/LPC/FWH programmers the same way SPI programmers are registered
All programmers are now calling programmer registration functions and direct manipulations of buses_supported are not needed/possible anymore. Note: Programmers without parallel/LPC/FWH chip support should not call register_par_programmer(). Additional fixes: Set max_rom_decode.parallel for drkaiser. Remove abuse of programmer_map_flash_region in it85spi. Annotate several FIXMEs in it85spi. Corresponding to flashrom svn r1463. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Michael Karcher <>
Diffstat (limited to 'cli_classic.c')
1 files changed, 4 insertions, 0 deletions
diff --git a/cli_classic.c b/cli_classic.c
index 2b8309a..49bc8a8 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -443,6 +443,10 @@ int main(int argc, char *argv[])
ret = 1;
goto out_shutdown;
+ tempstr = flashbuses_to_text(buses_supported);
+ msg_pdbg("This programmer supports the following protocols: %s.\n",
+ tempstr);
+ free(tempstr);
for (i = 0; i < ARRAY_SIZE(flashes); i++) {
startchip = probe_flash(startchip, &flashes[i], 0);
OpenPOWER on IntegriCloud