navienginebootldr/config.inc
changeset 0 5de814552237
equal deleted inserted replaced
-1:000000000000 0:5de814552237
       
     1 ;
       
     2 ; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 ; All rights reserved.
       
     4 ; This component and the accompanying materials are made available
       
     5 ; under the terms of "Eclipse Public License v1.0"
       
     6 ; which accompanies this distribution, and is available
       
     7 ; at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 ;
       
     9 ; Initial Contributors:
       
    10 ; Nokia Corporation - initial contribution.
       
    11 ;
       
    12 ; Contributors:
       
    13 ;
       
    14 ; Description:  
       
    15 ;
       
    16 
       
    17 ;
       
    18 ; NE1_TBVariant bootstrap configuration file
       
    19 
       
    20 ; Include to enable tracing
       
    21 ;	GBLL	CFG_DebugBootRom
       
    22 
       
    23 ; Include to initialise debug port in bootstrap without enabling bootstrap
       
    24 ; trace. Useful for __EARLY_DEBUG__ mode.
       
    25 ;	GBLL	CFG_InitDebugPort
       
    26 
       
    27 ; Include one of these to select the CPU
       
    28 	GBLL	CFG_CPU_ARM11MP
       
    29 
       
    30 ; Include the following line if this is a bootloader bootstrap
       
    31 ;	GBLL	CFG_BootLoader
       
    32 
       
    33 ; Use the alternate entrypoint into the bootstrap code
       
    34 	GBLL	CFG_AlternateEntryPoint
       
    35 
       
    36 ; Defining CFG_CopyRomToAddress will trigger the generic bootstrap code to copy the rom to the nominated location.
       
    37 	INIT_NUMERIC_CONSTANT	CFG_CopyRomToAddress, 0x86000000
       
    38 
       
    39 ; If you want to supply a custom set of initial vectors (including reset vector) include the following line
       
    40 ;	GBLL	CFG_CustomVectors
       
    41 ;
       
    42 ; and provide a custom_vectors.inc file
       
    43 
       
    44 ; Variant Number
       
    45 	INIT_NUMERIC_CONSTANT	CFG_HWVD, 0x09080001
       
    46 
       
    47 ; Include the following line if default memory mapping should use shared memory.
       
    48 ; Should be defined on multicore (SMP) devices.
       
    49 	GBLL	CFG_USE_SHARED_MEMORY
       
    50 
       
    51 ; On ARM architecture 6 processors, include the following line to override the threshold
       
    52 ; on total physical RAM size at which the multiple memory model switches into large address space mode
       
    53 ; i.e. size>threshold -> 2Gb per process, size<=threshold -> 1Gb per process
       
    54 ; Defaults to 32Mb.
       
    55 ;	INIT_NUMERIC_CONSTANT	CFG_ARMV6_LARGE_CONFIG_THRESHOLD, <value>
       
    56 
       
    57 ; For the direct memory model only, include the following line if you wish the exception vectors at the
       
    58 ; start of the bootstrap to be used at all times. This is only relevant if an MMU is present - this option
       
    59 ; is mandatory if not.
       
    60 ;	GBLL	CFG_UseBootstrapVectors
       
    61 ;
       
    62 ; If the above option is in use (including if no MMU is present) the following symbol should be defined
       
    63 ; to specify the offset from the bootstrap to the kernel image.
       
    64 	INIT_NUMERIC_CONSTANT	KernelCodeOffset, 0x4000
       
    65 
       
    66 ; Include the following line if you wish to include the ROM autodetection code based on data bus
       
    67 ; capacitance and image repeats.
       
    68 ;	GBLL	CFG_AutoDetectROM
       
    69 
       
    70 ; Include the following line to minimise the initial kernel heap size
       
    71 ; On the direct memory model the size of the kernel data area (super page to end of kernel heap) 
       
    72 ; is rounded up to the next 1Mb if this is not included, 4K if it is.
       
    73 ; On the moving and multiple models, the size of the initial kernel heap area is rounded up to
       
    74 ; the next 64K if this is not included, 4K if it is.
       
    75 ;	GBLL	CFG_MinimiseKernelHeap
       
    76 
       
    77 ; On the moving or multiple memory models, include either or both of the following lines to
       
    78 ; specify the size of the initial kernel heap
       
    79 ;	INIT_NUMERIC_CONSTANT	CFG_KernelHeapMultiplier, <multiplier>
       
    80 ;	INIT_NUMERIC_CONSTANT	CFG_KernelHeapBaseSize, <base>
       
    81 ;
       
    82 ; The initial kernel heap size is MAX( <base> + <multiplier> * N / 16, value specified in ROMBUILD )
       
    83 ; where N is the total physical RAM size in pages.
       
    84 ; <base> defaults to 24K and <multiplier> defaults to 9*16 (ie 9 bytes per page).
       
    85 
       
    86 ; Uncomment if using ARM1136 processor and ARM1136 Erratum 353494
       
    87 ; "Rare conditions can cause corruption of the Instruction Cache"
       
    88 ; is fixed on this hardware.
       
    89 ;
       
    90 ; NOTE: The boot table should use this macro to determine whether RONO or RORO permissions
       
    91 ; are used for the exception vectors. If the erratum is not fixed, RORO must be used.
       
    92 ;
       
    93 ;	GBLL	CFG_CPU_ARM1136_ERRATUM_353494_FIXED
       
    94 
       
    95 ; Uncomment if using ARM1136 processor and ARM1136 Erratum 364296
       
    96 ; "Possible Cache Data Corruption with Hit-Under-Miss"
       
    97 ; is fixed on this hardware.
       
    98 ;
       
    99 ;	GBLL	CFG_CPU_ARM1136_ERRATUM_364296_FIXED
       
   100 
       
   101 ; Uncomment if using ARM1136 processor and ARM1136 Erratum 399234
       
   102 ; "Write back data cache entry evicted by write through entry causes data corruption"
       
   103 ; is fixed on this hardware.
       
   104 ; Workaround
       
   105 ; The erratum may be avoided by marking all cacheable memory as one of write through or write back.
       
   106 ; This requires the memory attributes described in the translation tables to be modified by software
       
   107 ; appropriately, or the use of the remapping capability to remap write through regions to non cacheable.
       
   108 ;
       
   109 ; If this macro is enabled, it should be accompanied by:
       
   110 ; 		"#define __CPU_ARM1136_ERRATUM_399234_FIXED" in variant.mmh
       
   111 ;	GBLL	CFG_CPU_ARM1136_ERRATUM_399234_FIXED
       
   112 
       
   113 
       
   114 ; Uncomment if:
       
   115 ;	1)	using ARM1136 processor and ARM1136 Erratum 411920: "Invalidate Entire Instruction Cache
       
   116 ;	  	operation might fail to invalidate some lines if coincident with linefill"
       
   117 ;  	  	is fixed on this hardware, or
       
   118 ;	2)	using ARM1176 processor and ARM1176 Erratum 415045: "Invalidate Entire Instruction Cache
       
   119 ; 	  	operation might fail to invalidate some lines if coincident with linefill
       
   120 ;	  	is fixed on this hardware.
       
   121 ; Workaround:
       
   122 ;	1)	Disables the use of of prefetch range cache operations by setting RV bit in Auxiliary Ctrl Reg.
       
   123 ;	2)	Replaces Invalidate ICache operation with the sequence defined in the errata document.
       
   124 ; If this macro is enabled, it should be accompanied by:
       
   125 ; 	"#define __CPU_ARM1136_ERRATUM_411920_FIXED" in variant.mmh
       
   126 ;
       
   127 ;	GBLL	CFG_CPU_ARM1136_ERRATUM_411920_FIXED
       
   128 
       
   129 
       
   130 ; Uncomment if using ARM1136 processor and ARM1136 Erratum 415662: "Invalidate Instruction Cache by
       
   131 ; Index might corrupt cache when used with background prefetch range" is fixed on this hardware.
       
   132 ; Workaround:
       
   133 ; 	Disables the use of of prefetch range cache operations by setting RV bit in Auxiliary Ctrl Reg.
       
   134 ;
       
   135 ;	GBLL	CFG_CPU_ARM1136_ERRATUM_415662_FIXED
       
   136 
       
   137 
       
   138 ; Uncomment if this variant config needs to support the Shadow Memory Regions
       
   139 ; (SMR) feature in the kernel. Basically allows media based images to be copied
       
   140 ; into memory which is later reserved by the Kernel RAM Allocator. 
       
   141 ; One user of the SMR feature is the HCR component when used with media based 
       
   142 ; setting repository. Thus variant configs that support the new MHA HCR 
       
   143 ; component and expect media based settings must define this macro e.g. NAND 
       
   144 ; Core Image ROM, but not BootLoader ROM etc.
       
   145 ;
       
   146 ;	GBLL 	CFG_ENABLE_SMR_SUPPORT
       
   147 
       
   148 
       
   149 ; These are deduced from the supplied configuration
       
   150 ;	CFG_ARMV6
       
   151 ;	CFG_MMUPresent
       
   152 ;	CFG_CachePresent
       
   153 ;	CFG_WriteBufferPresent
       
   154 ;	CFG_SplitCache
       
   155 ;	CFG_SplitTLB
       
   156 ;	CFG_AltDCachePresent
       
   157 ;	CFG_WriteBackCache
       
   158 ;	CFG_CacheWriteAllocate
       
   159 ;	CFG_CachePhysicalTag
       
   160 ;	CFG_CacheFlushByDataRead
       
   161 ;	CFG_CacheFlushByWaySetIndex
       
   162 ;	CFG_CacheFlushByLineAlloc
       
   163 ;	CFG_CachePolicyInPTE
       
   164 ;	CFG_TEX
       
   165 ;	CFG_SingleEntryDCacheFlush
       
   166 ;	CFG_SingleEntryICacheFlush
       
   167 ;	CFG_SingleEntryITLBFlush
       
   168 ;	CFG_SingleEntryTLBFlush
       
   169 ;	CFG_CacheTypeReg
       
   170 ;	CFG_BTBPresent
       
   171 ;	CFG_CARPresent
       
   172 ;	CFG_PrefetchBuffer
       
   173 ;	CFG_FCSE_Present
       
   174 ;	CFG_ASID_Present
       
   175 ;	CFG_IncludeRAMAllocator
       
   176 
       
   177 	END