From 6cbb57137bbddfd1aad5b041f6484e1854204538 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Tue, 3 Jun 2003 07:59:58 +0000 Subject: [PATCH] 2003-06-03 Marcel Telka * brux/flash.h: New file extracted from jtag module, file include/jtag.h. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@459 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- include/ChangeLog | 4 ++++ include/brux/flash.h | 47 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 include/brux/flash.h diff --git a/include/ChangeLog b/include/ChangeLog index 6ffd70b2..2a30f2b5 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-06-03 Marcel Telka + + * brux/flash.h: New file extracted from jtag module, file include/jtag.h. + 2003-05-30 Marcel Telka * Makefile.am (nobase_openwinceinc_HEADERS): Added brux/cfi.h. diff --git a/include/brux/flash.h b/include/brux/flash.h new file mode 100644 index 00000000..16246ef1 --- /dev/null +++ b/include/brux/flash.h @@ -0,0 +1,47 @@ +/* + * $Id$ + * + * Copyright (C) 2003 ETC s.r.o. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the ETC s.r.o. nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * Written by Marcel Telka , 2003. + * + */ + +#ifndef BRUX_FLASH_H +#define BRUX_FLASH_H + +#include +#include + +#include + +void detectflash( bus_t *bus ); + +void flashmem( bus_t *bus, FILE *f, uint32_t addr ); +void flashmsbin( bus_t *bus, FILE *f ); + +#endif /* BRUX_FLASH_H */