diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2011-10-19 01:54:25 +0200 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-10-19 00:24:40 +0000 |
commit | 36e3009ff9ddd449a394b8e4aed0cc68c77b5a4b (patch) | |
tree | aad1028672f7797abebe60dd038deaf24da00a7f /tcl/target/tmpa900.cfg | |
parent | 4f2655c28ba9dd1c259b4b48741f2bec933e4592 (diff) | |
download | riscv-openocd-36e3009ff9ddd449a394b8e4aed0cc68c77b5a4b.zip riscv-openocd-36e3009ff9ddd449a394b8e4aed0cc68c77b5a4b.tar.gz riscv-openocd-36e3009ff9ddd449a394b8e4aed0cc68c77b5a4b.tar.bz2 |
TMPA900/910 MCUs are always little endian.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Change-Id: I8839f2cf0faf1b5ba9f99901c5ee028b199fabd2
Reviewed-on: http://openocd.zylin.com/35
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'tcl/target/tmpa900.cfg')
-rw-r--r-- | tcl/target/tmpa900.cfg | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tcl/target/tmpa900.cfg b/tcl/target/tmpa900.cfg index 90851f6..cfb445e 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 |