From f86137066a6b42c46c457c9837a8015990bf71e6 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Mon, 16 Nov 2009 16:36:09 -0800 Subject: ARM: "armv4_5" command prefix becomes "arm" Rename the "armv4_5" command prefix to straight "arm" so it makes more sense for newer cores. Add a simple compatibility script. Make sure all the commands give the same "not an ARM" diagnostic message (and fail properly) when called against non-ARM targets. Signed-off-by: David Brownell --- tcl/board/mini2440.cfg | 2 +- tcl/target/lpc1768.cfg | 2 +- tcl/target/lpc2148.cfg | 2 +- tcl/target/lpc2378.cfg | 2 +- tcl/target/lpc2478.cfg | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tcl') diff --git a/tcl/board/mini2440.cfg b/tcl/board/mini2440.cfg index d17b1076..0f7ebf8a 100644 --- a/tcl/board/mini2440.cfg +++ b/tcl/board/mini2440.cfg @@ -292,7 +292,7 @@ proc load_uboot { } { proc s {} { step reg - armv4_5 disassemble 0x33F80068 0x10 + arm disassemble 0x33F80068 0x10 } proc help_2440 {} { diff --git a/tcl/target/lpc1768.cfg b/tcl/target/lpc1768.cfg index 9f6bcffc..0b07d51f 100644 --- a/tcl/target/lpc1768.cfg +++ b/tcl/target/lpc1768.cfg @@ -35,7 +35,7 @@ $_TARGETNAME configure -work-area-phys 0x10000000 -work-area-size 0x8000 -work-a $_TARGETNAME configure -event reset-init { # Force target into ARM state - armv4_5 core_state arm + arm core_state arm #do not remap 0x0000-0x0020 to anything but the flash # mwb 0xE01FC040 0x01 mwb 0xE000ED08 0x00 diff --git a/tcl/target/lpc2148.cfg b/tcl/target/lpc2148.cfg index ce672c88..1f833e72 100644 --- a/tcl/target/lpc2148.cfg +++ b/tcl/target/lpc2148.cfg @@ -39,7 +39,7 @@ $_TARGETNAME configure -work-area-phys 0x40000000 -work-area-size 0x4000 -work-a $_TARGETNAME configure -event reset-init { # Force target into ARM state - armv4_5 core_state arm + arm core_state arm # Do not remap 0x0000-0x0020 to anything but the flash (i.e. select # "User Flash Mode" where interrupt vectors are _not_ remapped, diff --git a/tcl/target/lpc2378.cfg b/tcl/target/lpc2378.cfg index 7f716f3d..aa3fad26 100644 --- a/tcl/target/lpc2378.cfg +++ b/tcl/target/lpc2378.cfg @@ -35,7 +35,7 @@ $_TARGETNAME configure -work-area-phys 0x40000000 -work-area-size 0x8000 -work-a $_TARGETNAME configure -event reset-init { # Force target into ARM state - armv4_5 core_state arm + arm core_state arm #do not remap 0x0000-0x0020 to anything but the flash mwb 0xE01FC040 0x01 } diff --git a/tcl/target/lpc2478.cfg b/tcl/target/lpc2478.cfg index e78afa1a..b0af4c02 100644 --- a/tcl/target/lpc2478.cfg +++ b/tcl/target/lpc2478.cfg @@ -35,7 +35,7 @@ $_TARGETNAME configure -work-area-phys 0x40000000 -work-area-size 0x10000 -work- $_TARGETNAME configure -event reset-init { # Force target into ARM state - armv4_5 core_state arm + arm core_state arm # Do not remap 0x0000-0x0020 to anything but the Flash mwb 0xE01FC040 0x01 } -- cgit v1.2.3