forked from len0rd/rockbox
Enable program flow prediction in the system control coprocessor setup in the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17211 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5818bc3c31
commit
8ec1dca0da
2 changed files with 3 additions and 3 deletions
|
@ -156,7 +156,7 @@ void main(void)
|
|||
|
||||
lcd_clear_display();
|
||||
printf("Hello world!");
|
||||
printf("Gigabeat S Rockbox Bootloader v.00000009");
|
||||
printf("Gigabeat S Rockbox Bootloader v.00000010");
|
||||
system_init();
|
||||
kernel_init();
|
||||
printf("kernel init done");
|
||||
|
|
|
@ -198,10 +198,10 @@ remap_start:
|
|||
(1 << 22)) /* Unaligned access support disabled */
|
||||
bic r0, r0, #((1 << 21) | /* All performance features enabled */ \
|
||||
(1 << 15)) /* Loads to PC set T bit */
|
||||
bic r0, r0, #((1 << 13) | /* Low vectors */ \
|
||||
(1 << 11)) /* Program flow prediction disabled (for now) */
|
||||
bic r0, r0, #((1 << 13)) /* Low vectors */
|
||||
orr r0, r0, #((1 << 14) | /* Round-robin replacement for I/D caches */ \
|
||||
(1 << 12) | /* L1 I-cache enabled */ \
|
||||
(1 << 11) | /* Program flow prediction enabled */ \
|
||||
(1 << 9) | /* ROM protection enabled */ \
|
||||
(1 << 8)) /* MMU protection enabled */
|
||||
orr r0, r0, #((1 << 2) | /* L1 D-cache enabled */ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue