Add support for LPC8N04
This commit is contained in:
parent
34c0d5a1c9
commit
f9f928e9d6
|
@ -129,6 +129,12 @@ lpc11xx_probe(target *t)
|
||||||
target_add_ram(t, 0x10000000, 0x2000);
|
target_add_ram(t, 0x10000000, 0x2000);
|
||||||
lpc11xx_add_flash(t, 0x00000000, 0x8000, 0x1000);
|
lpc11xx_add_flash(t, 0x00000000, 0x8000, 0x1000);
|
||||||
return true;
|
return true;
|
||||||
|
case 0x00008A04: /* LPC8N04 (see UM11074 Rev.1.3 section 4.5.19) */
|
||||||
|
t->driver = "LPC8N04";
|
||||||
|
target_add_ram(t, 0x10000000, 0x2000);
|
||||||
|
lpc11xx_add_flash(t, 0x00000000, 0x8000, 0x400);
|
||||||
|
target_add_commands(t, lpc11xx_cmd_list, "LPC8N04");
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
if (idcode) {
|
if (idcode) {
|
||||||
DEBUG("LPC11xx: Unknown IDCODE 0x%08" PRIx32 "\n", idcode);
|
DEBUG("LPC11xx: Unknown IDCODE 0x%08" PRIx32 "\n", idcode);
|
||||||
|
|
Loading…
Reference in New Issue