| f53830e7 | 09-Jan-2016 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: kconfig: add option for MIPS_L1_CACHE_SHIFT
Add Kconfig symbol for L1 cache shift like the kernel does. The value of CONFIG_SYS_CACHELINE_SIZE is not a reliable source for ARCH_DMA_MINALIGN an
MIPS: kconfig: add option for MIPS_L1_CACHE_SHIFT
Add Kconfig symbol for L1 cache shift like the kernel does. The value of CONFIG_SYS_CACHELINE_SIZE is not a reliable source for ARCH_DMA_MINALIGN anymore, because it is optional on MIPS. If CONFIG_SYS_CACHELINE_SIZE is not defined by a board, the cache sizes are automatically detected and ARCH_DMA_MINALIGN would be set to 128 Bytes.
The default value for CONFIG_MIPS_L1_CACHE_SHIFT is 5 which corresponds to 32 Bytes. All current MIPS boards already used that value. While on it, fix the Malta board to use a value of 6 like the kernel port does.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
show more ...
|
| 5b6f357f | 19-Dec-2015 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: create .text sub-sections for assembler functions
Put all functions coded in assembly in sub-sections of section .text. This allows the linker to garbage collect unused assembly functions too.
MIPS: create .text sub-sections for assembler functions
Put all functions coded in assembly in sub-sections of section .text. This allows the linker to garbage collect unused assembly functions too.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
show more ...
|
| 11349298 | 19-Dec-2015 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: fix annotation of _start and relocate_code
Correctly annotate _start and relocate_code as functions to produce more readable disassembly code generated by objdump.
Signed-off-by: Daniel Schwi
MIPS: fix annotation of _start and relocate_code
Correctly annotate _start and relocate_code as functions to produce more readable disassembly code generated by objdump.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
show more ...
|
| b11c5d1d | 01-Jul-2015 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: change 'extern inline' to 'static inline'
The kernel changed it a long time ago. Also this is now broken on gcc-5.x.
Reported-by: Andy Kennedy <andy.kennedy@adtran.com> Signed-off-by: Daniel
MIPS: change 'extern inline' to 'static inline'
The kernel changed it a long time ago. Also this is now broken on gcc-5.x.
Reported-by: Andy Kennedy <andy.kennedy@adtran.com> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
show more ...
|