From 0ab386f67699fa1ea647a6785c00eefc96324c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Mon, 1 Dec 2008 21:13:10 +0000 Subject: [PATCH] consider amode parameter properly git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1389 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 4 ++++ jtag/src/bus/prototype.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index b7f99f06..556c6058 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,5 +1,9 @@ 2008-12-01 Arnim Laeuger + * src/bus/prototype.c (prototype_bus_new): consider amode parameter properly + when specified on the command line. pervious version didn't set ASHIFT in + this case. + * src/flash/amd.c (amd_flash_print_info): added Spansion S92GL chips 2008-11-16 Kolja Waschk diff --git a/jtag/src/bus/prototype.c b/jtag/src/bus/prototype.c index 66e70b96..e5a6755d 100644 --- a/jtag/src/bus/prototype.c +++ b/jtag/src/bus/prototype.c @@ -236,8 +236,8 @@ prototype_bus_new( chain_t *chain, const bus_driver_t *driver, char *cmd_params[ nbytes >>= 1; ashift++; } - ASHIFT = ashift; } + ASHIFT = ashift; } else { printf( _("parameters dlsb= and/or dmsb= are not defined\n") );