# HG changeset patch # User Space Falcon # Date 1433570252 0 # Node ID 73e647918297bace885a007c0209703c34362523 # Parent 04fd47d382c721fc763baaae7c8e33225cd60a24 main-fchw.patch implemented diff -r 04fd47d382c7 -r 73e647918297 patches/Makefile --- a/patches/Makefile Sat Jun 06 05:24:23 2015 +0000 +++ b/patches/Makefile Sat Jun 06 05:57:32 2015 +0000 @@ -1,6 +1,9 @@ NEWLIBS=tpudrv-quadband.lib TOOL= ../tool/ti-libpatch +main-fchw.lib: ../libs/main.lib main-fchw.patch + ${TOOL} ../libs/main.lib main-fchw.patch $@ + tpudrv-quadband.lib: ../libs/tpudrv.lib tpudrv-quadband.patch ${TOOL} ../libs/tpudrv.lib tpudrv-quadband.patch $@ diff -r 04fd47d382c7 -r 73e647918297 patches/main-fchw.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/main-fchw.patch Sat Jun 06 05:57:32 2015 +0000 @@ -0,0 +1,17 @@ +# This patch applies to the Init_Target() function in the init.obj module in +# main.lib; it is an example of how this code will need to be patched for +# running on our own future FreeCalypso hardware if we choose to use the same +# Spansion S71PL129NC0 flash+pSRAM MCP as used in the Pirelli DP-L10 and use +# the same memory timings as set by Pirelli's firmware. + +[init.obj] + +# value goes into nCS0, nCS1 and nCS3 config registers +.text 66 A4 +# value goes into nCS2 config reg +.text 6C A4 + +# nop out the write into 0x02700000 + +.text 128 C0 +.text 129 46