diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-08 23:24:59 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-08 23:24:59 +0000 |
commit | a6c401c6f8ef2ad36d4cc76e2e94cc8a5fa71fc7 (patch) | |
tree | 947378478f9a3dd1f39913e9bac75a4400cb0c9c /nuttx/arch/sh/src/sh1/sh1_head.S | |
parent | 52e9bfad28de743e9072dbd9edf178dbc5b39a5d (diff) | |
download | px4-nuttx-a6c401c6f8ef2ad36d4cc76e2e94cc8a5fa71fc7.tar.gz px4-nuttx-a6c401c6f8ef2ad36d4cc76e2e94cc8a5fa71fc7.tar.bz2 px4-nuttx-a6c401c6f8ef2ad36d4cc76e2e94cc8a5fa71fc7.zip |
Add option to copy to RAM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1689 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sh/src/sh1/sh1_head.S')
-rw-r--r-- | nuttx/arch/sh/src/sh1/sh1_head.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/sh/src/sh1/sh1_head.S b/nuttx/arch/sh/src/sh1/sh1_head.S index 441cfdd80..15a82fcda 100644 --- a/nuttx/arch/sh/src/sh1/sh1_head.S +++ b/nuttx/arch/sh/src/sh1/sh1_head.S @@ -1,7 +1,7 @@ /***************************************************************************** * arch/sh/src/sh1/sh1_head.S * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -78,7 +78,7 @@ .globl _ebss /* End of BSS */ .globl _svect /* Start of the new vector location */ -#ifdef CONFIG_BOOT_FROM_FLASH +#ifdef CONFIG_BOOT_RUNFROMFLASH .globl _eronly /* Where .data defaults are stored in FLASH */ .global _sdata /* Start of .data in RAM */ .globl _edata /* End of .data in RAM */ @@ -388,7 +388,7 @@ __start0: /* Initialize data segement */ -#ifdef CONFIG_BOOT_FROM_FLASH +#ifdef CONFIG_BOOT_RUNFROMFLASH mov.l .Lsdata, r0 /* R0: Start of .data segment */ mov.l .Ledata, r1 /* R1: End+1 of .data segment */ mov.l .Leronly, r2 /* R2: Start of FLASH .data segment copy */ @@ -469,7 +469,7 @@ __start0: nop .align 2 -#ifdef CONFIG_BOOT_FROM_FLASH +#ifdef CONFIG_BOOT_RUNFROMFLASH .Leronly: .long _eronly .Lsdata: |