From ac87a4e8345e0a7c29c352b5258140d14fed9e1c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 8 Feb 2010 21:35:51 +0000 Subject: [PATCH] sync Blackfin part list in bfin_init() to support BF548M and BF592 git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1772 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 3 +++ urjtag/data/analog/PARTS | 1 + urjtag/src/bfin/bfin-part-bfin.c | 3 +++ 3 files changed, 7 insertions(+) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 7632ca04..2ba7633f 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -8,6 +8,9 @@ * data/analog/bf592/bf592: Add missing common registers and instructions. + * src/bfin/bfin-part-bfin.c (bfin_init): Add BF548M and BF592. + * data/analog/PARTS: Add note that bfin_init() needs to be in sync. + 2010-02-08 Jie Zhang * include/urjtag/part.h (struct URJ_PART_PARAMS): Add wait_ready. diff --git a/urjtag/data/analog/PARTS b/urjtag/data/analog/PARTS index 4a213391..5f21f09e 100644 --- a/urjtag/data/analog/PARTS +++ b/urjtag/data/analog/PARTS @@ -20,6 +20,7 @@ # # bits 27-12 of the Device Identification Register +# Blackfin list is also in src/bfin/bfin-part-bfin.c 0010011110100111 sharc21065l SHARC 0010100000000000 bf506 BF506 0010011111101000 bf518 BF518 diff --git a/urjtag/src/bfin/bfin-part-bfin.c b/urjtag/src/bfin/bfin-part-bfin.c index bf7cc845..3a70a08b 100644 --- a/urjtag/src/bfin/bfin-part-bfin.c +++ b/urjtag/src/bfin/bfin-part-bfin.c @@ -194,6 +194,7 @@ extern void bfin_init (void); void bfin_init () { + /* Keep in sync with data/analog/PARTS */ urj_part_init_register ("BF506", bfin_part_init); urj_part_init_register ("BF518", bfin_part_init); urj_part_init_register ("BF526", bfin_part_init); @@ -203,5 +204,7 @@ bfin_init () urj_part_init_register ("BF537", bfin_part_init); urj_part_init_register ("BF538", bfin_part_init); urj_part_init_register ("BF548", bfin_part_init); + urj_part_init_register ("BF548M", bfin_part_init); urj_part_init_register ("BF561", bfin_part_init); + urj_part_init_register ("BF592", bfin_part_init); }