From 36e3009ff9ddd449a394b8e4aed0cc68c77b5a4b Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 19 Oct 2011 01:54:25 +0200 Subject: [PATCH] TMPA900/910 MCUs are always little endian. Signed-off-by: Uwe Hermann Change-Id: I8839f2cf0faf1b5ba9f99901c5ee028b199fabd2 Reviewed-on: http://openocd.zylin.com/35 Tested-by: jenkins Reviewed-by: Peter Stuge --- tcl/target/tmpa900.cfg | 7 ++----- tcl/target/tmpa910.cfg | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/tcl/target/tmpa900.cfg b/tcl/target/tmpa900.cfg index 90851f69..cfb445e6 100644 --- a/tcl/target/tmpa900.cfg +++ b/tcl/target/tmpa900.cfg @@ -8,11 +8,8 @@ if { [info exists CHIPNAME] } { set _CHIPNAME tmpa900 } -if { [info exists ENDIAN] } { - set _ENDIAN $ENDIAN -} else { - set _ENDIAN little -} +# Toshiba TMPA900 series MCUs are always little endian as per datasheet. +set _ENDIAN little if { [info exists CPUTAPID ] } { set _CPUTAPID $CPUTAPID diff --git a/tcl/target/tmpa910.cfg b/tcl/target/tmpa910.cfg index 36874d94..4d4d3fc2 100644 --- a/tcl/target/tmpa910.cfg +++ b/tcl/target/tmpa910.cfg @@ -8,11 +8,8 @@ if { [info exists CHIPNAME] } { set _CHIPNAME tmpa910 } -if { [info exists ENDIAN] } { - set _ENDIAN $ENDIAN -} else { - set _ENDIAN little -} +# Toshiba TMPA910 series MCUs are always little endian as per datasheet. +set _ENDIAN little if { [info exists CPUTAPID ] } { set _CPUTAPID $CPUTAPID -- 2.39.5