You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/09/24 13:59:37 UTC

[incubator-nuttx] branch master updated: arch: lc823450: Fix to boot

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 95fe8426ed arch: lc823450: Fix to boot
95fe8426ed is described below

commit 95fe8426ed2e3bf4965ae4f6b072c7e8adaddb97
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Sat Sep 24 19:39:43 2022 +0900

    arch: lc823450: Fix to boot
    
    Summary:
    - I noticed that lc823450-xgevk does not boot due to the recent
      changes on g_current_regs
    - This PR fixes this issue
    
    Impact:
    - None
    
    Testing:
    - Tested with lc823450-xgevk:rndis
    
    Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
 arch/arm/src/lc823450/lc823450_start.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/src/lc823450/lc823450_start.c b/arch/arm/src/lc823450/lc823450_start.c
index 3264fadc91..906316c967 100644
--- a/arch/arm/src/lc823450/lc823450_start.c
+++ b/arch/arm/src/lc823450/lc823450_start.c
@@ -170,10 +170,6 @@ void __start(void)
       *dest++ = *src++;
     }
 
-  /* run as interrupt context, before scheduler running */
-
-  CURRENT_REGS = (uint32_t *)1;
-
 #ifdef CONFIG_LASTKMSG_LOWOUTS
 
   if (g_lastksg_buf.sig == LASTKMSG_SIG_REBOOT)