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
This commit is contained in:
parent
5ab4ef9008
commit
154cb1ecdf
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user