FreeCalypso > hg > fc-magnetite
diff src/cs/system/main/init.asm @ 604:a7ed7d4483b0
main assembly boot path code: MEMIF change for 26 MHz targets
as explained in the MEMIF-wait-states document
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 17 Jun 2019 02:11:17 +0000 |
parents | 838eeafb0051 |
children |
line wrap: on
line diff
--- a/src/cs/system/main/init.asm Mon Jun 17 01:36:38 2019 +0000 +++ b/src/cs/system/main/init.asm Mon Jun 17 02:11:17 2019 +0000 @@ -170,9 +170,19 @@ .elseif BOARD = 41 +; FreeCalypso change, please see MEMIF-wait-states document +; in the freecalypso-docs repository for the explanation. + + .if VCXO_26MHZ = 1 +CS0_MEM_REG .short 0x2a2 ; 1 Dummy Cycle 16 bit 2 WS SW BP enable +CS1_MEM_REG .short 0x2a2 ; 1 Dummy Cycle 16 bit 2 WS SW BP enable +CS2_MEM_REG .short 0x2a2 ; 1 Dummy Cycle 16 bit 2 WS SW BP enable + .else CS0_MEM_REG .short 0x2a1 ; 1 Dummy Cycle 16 bit 1 WS SW BP enable CS1_MEM_REG .short 0x2a1 ; 1 Dummy Cycle 16 bit 1 WS SW BP enable CS2_MEM_REG .short 0x2a1 ; 1 Dummy Cycle 16 bit 1 WS SW BP enable + .endif + CS3_MEM_REG .short 0x283 ; 1 Dummy Cycle 8 bit 3 WS SW BP enable CS4_MEM_REG .short 0xe85 ; default reset value