From a1390e997dec483074d5ec45d8f8b7933e8c96e9 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 5 Sep 2010 02:05:33 +0000 Subject: [PATCH] boardinit call doesn't depend on CONFIG_ARCH_LEDs git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2920 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/lpc313x/lpc313x_boot.c | 4 ++-- configs/ea3131/README.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/lpc313x/lpc313x_boot.c b/arch/arm/src/lpc313x/lpc313x_boot.c index 4e96e60c80..cd3de31aee 100755 --- a/arch/arm/src/lpc313x/lpc313x_boot.c +++ b/arch/arm/src/lpc313x/lpc313x_boot.c @@ -92,8 +92,10 @@ static const struct section_mapping_s section_mapping[] = { { LPC313X_SHADOWSPACE_PSECTION, LPC313X_SHADOWSPACE_VSECTION, LPC313X_SHADOWSPACE_MMUFLAGS, LPC313X_SHADOWSPACE_NSECTIONS}, +#ifndef CONFIG_PAGING /* SRAM is already fully mapped */ { LPC313X_INTSRAM_PSECTION, LPC313X_INTSRAM_VSECTION, LPC313X_INTSRAM_MMUFLAGS, LPC313X_INTSRAM_NSECTIONS}, +#endif #ifdef CONFIG_ARCH_ROMPGTABLE { LPC313X_INTSROM0_PSECTION, LPC313X_INTSROM0_VSECTION, LPC313X_INTSROM_MMUFLAGS, LPC313X_INTSROM0_NSECTIONS}, @@ -392,7 +394,5 @@ void up_boot(void) /* Perform board-specific initialization */ -#ifdef CONFIG_ARCH_LEDS lpc313x_boardinitialize(); -#endif } diff --git a/configs/ea3131/README.txt b/configs/ea3131/README.txt index 28b8e88681..dda10c292a 100755 --- a/configs/ea3131/README.txt +++ b/configs/ea3131/README.txt @@ -209,7 +209,7 @@ Image Format configs/ea3131/tools where mklpc.sh resides. Use of setenv.sh is optional. If you don't use setenv.sh, then just set your PATH variable appropriately or use the full path to mklpc.sh in the final step. - 2. You can't instruct Symantec to ignore the errors and it will stop quarantining + 2. You can instruct Symantec to ignore the errors and it will stop quarantining the NXP program. 3. The CRC32 logic in configs/ea3131/tools doesn't seem to work. As a result, the CRC is currently disabled in the header: