Move the .h files in include/flash/ to src/flash. Step 2. Compiles again.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1538 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Rutger Hofman 16 years ago
parent 621b9bc084
commit 6fb6e82dbd

@ -38,13 +38,14 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <flash/cfi.h>
#include <flash/intel.h>
#include <intel.h>
#include <unistd.h>
#include <flash.h>
#include <bus.h>
#include "cfi.h"
static int dbg = 0;
static int amd_flash_erase_block (urj_flash_cfi_array_t *cfi_array,

@ -32,8 +32,6 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <flash/cfi.h>
#include <flash/intel.h>
#include <unistd.h>
#include <jtag.h>
@ -41,6 +39,8 @@
#include <bus.h>
#include "jedec.h"
#include "cfi.h"
#include "intel.h"
//write specific
#define AMD_SECTOR_PROTECTED

@ -32,12 +32,13 @@
#include <stdint.h>
#include <stdlib.h>
#include <flash/cfi.h>
#include <jtag.h>
#include <flash.h>
#include <bus.h>
#include "cfi.h"
void
urj_flash_cfi_array_free (urj_flash_cfi_array_t *cfi_array)
{

@ -162,6 +162,12 @@ typedef struct cfi_query_structure
urj_flash_cfi_query_system_interface_information_t system_interface_info;
urj_flash_cfi_device_geometry_t device_geometry;
} urj_flash_cfi_query_structure_t;
struct urj_flash_cfi_chip
{
int width; /* 1 for 8 bits, 2 for 16 bits, 4 for 32 bits, etc. */
urj_flash_cfi_query_structure_t cfi;
};
#endif /* __ASSEMBLY__ */
/* AMD primary vendor-specific extended query structure - see [3] and [4] */

@ -32,14 +32,14 @@
#include <stdint.h>
#include <string.h>
#include <flash/cfi.h>
#include <flash/intel.h>
#include <flash/mic.h>
#include <flash.h>
#include <bus.h>
#include "jedec.h"
#include "cfi.h"
#include "intel.h"
#include "mic.h"
urj_flash_cfi_array_t *urj_flash_cfi_array = NULL;

@ -39,8 +39,8 @@
#include <stdlib.h>
#include <string.h>
#include <flash/cfi.h>
#include <flash/intel.h>
#include <cfi.h>
#include <intel.h>
#include "bus.h"
#include "flash.h"

@ -40,14 +40,15 @@
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <flash/cfi.h>
#include <flash/intel.h>
#include <flash/mic.h>
#include <jtag.h>
#include <flash.h>
#include <bus.h>
#include "cfi.h"
#include "intel.h"
#include "mic.h"
static int intel_flash_erase_block (urj_flash_cfi_array_t *cfi_array,
uint32_t adr);
static int intel_flash_unlock_block (urj_flash_cfi_array_t *cfi_array,

@ -26,14 +26,14 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <flash/cfi.h>
#include <flash/intel.h>
#include <unistd.h>
#include <jtag.h>
#include <flash.h>
#include <bus.h>
#include "cfi.h"
#include "intel.h"
#include "jedec.h"
/* Manufacturers */

@ -26,8 +26,6 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <flash/cfi.h>
#include <flash/intel.h>
#include <unistd.h>
#include <jtag.h>
@ -35,6 +33,10 @@
#include <bus.h>
#include <bitmask.h>
#include "jedec.h"
#include "cfi.h"
#include "intel.h"
void
urj_flash_jedec_exp_read_id (urj_bus_t *bus, uint32_t adr, uint32_t dmask,
uint32_t pata, uint32_t patb, uint32_t dcmd,

Loading…
Cancel
Save