*/
#include "common.h"
+#include <stdint.h>
#include <stdio.h>
#include <ctype.h>
#include "con-utils.h"
*buf++ = *(uint8_t *) (size_t) addr++;
}
+void flash_read_buf(uint8_t *buf, uint32_t addr, uint8_t count)
+{
+ while (count--)
+ *buf++ = *(const __memx uint8_t *) (__uint24) addr++;
+}
+
int dump_mem(uint32_t address, uint32_t offset, uint32_t len,
void (*readfkt)(uint8_t *, uint32_t, uint8_t), char *title)
{