From 1c021ed0afb5f9f7d9e8cbce53a4fe985a4c2235 Mon Sep 17 00:00:00 2001 From: Andreas Fritiofson Date: Mon, 8 Sep 2014 22:11:02 +0200 Subject: target: Remove "-variant" argument Remove this underutilized feature. Despite the fact that a lot of configs specifies a arbitrary "variant", only the xscale target actually defines any. In the case of xscale, the use of -variant is dubious since 1) it's used as a redundant irlen specifier, 2) it carries a comment that it doesn't really need it and 3) only two xscale configs even specify it. If there's a future target that needs a variant set, a target specific option could be added when needed. Change-Id: I1ba25a946f0d80872cbd96ddcc48f92695c4ae20 Signed-off-by: Andreas Fritiofson Reviewed-on: http://openocd.zylin.com/2283 Tested-by: jenkins Reviewed-by: Spencer Oliver --- testing/examples/SAM7S256Test/prj/sam7s256_jtagkey.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/examples/SAM7S256Test') diff --git a/testing/examples/SAM7S256Test/prj/sam7s256_jtagkey.cfg b/testing/examples/SAM7S256Test/prj/sam7s256_jtagkey.cfg index 92c1e302..0447ed66 100644 --- a/testing/examples/SAM7S256Test/prj/sam7s256_jtagkey.cfg +++ b/testing/examples/SAM7S256Test/prj/sam7s256_jtagkey.cfg @@ -24,7 +24,7 @@ reset_config srst_only srst_pulls_trst jtag newtap sam7 cpu -irlen 4 -irmask 0xf #target configuration -target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi +target create target0 arm7tdmi -endian little -chain-position 0 [new_target_name] configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup false target_script 0 reset .\prj\sam7s256_reset.script -- cgit v1.2.3-18-g5258