aboutsummaryrefslogtreecommitdiffstats
path: root/atapromise.c
diff options
context:
space:
mode:
Diffstat (limited to 'atapromise.c')
-rw-r--r--atapromise.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/atapromise.c b/atapromise.c
index 171b22f5..e3009e42 100644
--- a/atapromise.c
+++ b/atapromise.c
@@ -152,14 +152,13 @@ static int atapromise_init(void)
}
max_rom_decode.parallel = rom_size;
- register_par_master(&par_master_atapromise, BUS_PARALLEL, NULL);
msg_pwarn("Do not use this device as a generic programmer. It will leave anything outside\n"
"the first %zu kB of the flash chip in an undefined state. It works fine for the\n"
"purpose of updating the firmware of this device (padding may necessary).\n",
rom_size / 1024);
- return 0;
+ return register_par_master(&par_master_atapromise, BUS_PARALLEL, NULL);
}
const struct programmer_entry programmer_atapromise = {