X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fvirtual.c;h=06981f4f4b762df21458777a01e3b82427146c5a;hb=5830bf09a73f38cc96c49ff792bd5a85687a795b;hp=599a9c09d739e84d344d4405f7bb115bae20dc38;hpb=565f8481c7b71614a05d79ab79af8610d2535a81;p=openocd.git diff --git a/src/flash/nor/virtual.c b/src/flash/nor/virtual.c index 599a9c09d7..06981f4f4b 100644 --- a/src/flash/nor/virtual.c +++ b/src/flash/nor/virtual.c @@ -13,9 +13,7 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ #ifdef HAVE_CONFIG_H @@ -46,6 +44,7 @@ static void virtual_update_bank_info(struct flash_bank *bank) bank->size = master_bank->size; bank->chip_width = master_bank->chip_width; bank->bus_width = master_bank->bus_width; + bank->erased_value = master_bank->erased_value; bank->default_padded_value = master_bank->default_padded_value; bank->num_sectors = master_bank->num_sectors; bank->sectors = master_bank->sectors;