FreeCalypso > hg > freecalypso-sw
view loadtools/scripts/c155.init @ 475:dcb543907cbb
os_mem_fl.c: os_CreatePartitionPool(): fixed error check logic
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 27 Jun 2014 02:24:27 +0000 |
parents | 57c681499f48 |
children | fe9e620c89ff |
line wrap: on
line source
# Set WS=3 for both nCS0 and nCS1, same as the more basic Compal phones w16 fffffb00 00A3 w16 fffffb02 00A3 # We need to set the FFFF:FB10 register to map the flash (not the boot ROM) # to address 0, same as the basic compal.init version; see the latter for # the explanation. w16 fffffb10 0300 # We need to switch the CS4/ADD22 pin from its default function of CS4 # to the needed ADD22, to access the 8 MiB of flash. Compal's C155/156 # in-flash boot code does this setting, but let's do it ourselves too. w16 fffef006 0008