This is an automated email from Gerrit.

Chengyu Zheng (chengyu.zh...@polimi.it) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/3916

-- gerrit

commit a20132f0ec84b6f080f093dfdf9d2bf0a5cdb085
Author: Chengyu Zheng <chengyu.zh...@polimi.it>
Date:   Mon Dec 19 10:28:12 2016 +0100

    target/cortex_a: fix whitespace
    
    Change-Id: I0e8455504ba46c9d99b73652df437f2fa2f88b71
    Signed-off-by: Chengyu Zheng <chengyu.zh...@polimi.it>

diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index d0eac75..942355a 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -3008,7 +3008,7 @@ static int cortex_a_examine_first(struct target *target)
        cortex_a->cpuid = cpuid;
 
        retval = mem_ap_read_atomic_u32(armv7a->debug_ap,
-                                   armv7a->debug_base + CPUDBG_PRSR, 
&dbg_osreg);
+                       armv7a->debug_base + CPUDBG_PRSR, &dbg_osreg);
        if (retval != ERROR_OK)
                return retval;
        LOG_DEBUG("target->coreid %" PRId32 " DBGPRSR  0x%" PRIx32, 
target->coreid, dbg_osreg);
@@ -3024,7 +3024,7 @@ static int cortex_a_examine_first(struct target *target)
 
        /* Read DBGOSLSR and check if OSLK is implemented */
        retval = mem_ap_read_atomic_u32(armv7a->debug_ap,
-                               armv7a->debug_base + CPUDBG_OSLSR, &dbg_osreg);
+                       armv7a->debug_base + CPUDBG_OSLSR, &dbg_osreg);
        if (retval != ERROR_OK)
                return retval;
        LOG_DEBUG("target->coreid %" PRId32 " DBGOSLSR 0x%" PRIx32, 
target->coreid, dbg_osreg);
@@ -3372,10 +3372,11 @@ static const struct command_registration 
cortex_a_exec_command_handlers[] = {
                .usage = "",
        },
        {   .name = "smp_off",
-           .handler = cortex_a_handle_smp_off_command,
-           .mode = COMMAND_EXEC,
-           .help = "Stop smp handling",
-           .usage = "",},
+               .handler = cortex_a_handle_smp_off_command,
+               .mode = COMMAND_EXEC,
+               .help = "Stop smp handling",
+               .usage = "",
+       },
        {
                .name = "smp_on",
                .handler = cortex_a_handle_smp_on_command,

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to