FreeCalypso > hg > freecalypso-tools
changeset 84:54a6864cabf4
loadtools: hwparamstubs.c split in preparation for adding fc-buzplay
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 27 Oct 2016 05:11:05 +0000 |
parents | b064c2ce43d2 |
children | c5766d12360d |
files | loadtools/Makefile loadtools/defexitstub.c loadtools/flashstubs.c loadtools/hwparamstubs.c |
diffstat | 4 files changed, 32 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/loadtools/Makefile Thu Oct 27 04:58:10 2016 +0000 +++ b/loadtools/Makefile Thu Oct 27 05:11:05 2016 +0000 @@ -9,8 +9,9 @@ COMPALRAM_OBJS= compalload.o compalram.o defpath.o sercomm.o ttypassthru.o -IRAM_OBJS= defpath.o hexdecode.o hwparam.o hwparamstubs.o romload.o \ - sercomm.o sertool.o srecreader.o ttypassthru.o ${EXTRA_OBJ} +IRAM_OBJS= defexitstub.o defpath.o flashstubs.o hexdecode.o hwparam.o \ + romload.o sercomm.o sertool.o srecreader.o ttypassthru.o \ + ${EXTRA_OBJ} LOADTOOL_OBJS= crc32tab.o defpath.o flashops.o flcmplboot.o flmain.o flmisc.o \ flprogbin.o flprogsrec.o flutil.o hexdecode.o hwparam.o \ @@ -18,8 +19,8 @@ ltmisc.o ltpassthru.o ltscript.o romload.o sercomm.o \ srecreader.o tpinterf.o tpinterf2.o tpinterf3.o ${EXTRA_OBJ} -XRAM_OBJS= chainload.o clmain.o defpath.o hexdecode.o hwparam.o \ - hwparamstubs.o initscript.o labaud.o romload.o sercomm.o \ +XRAM_OBJS= chainload.o clmain.o defexitstub.o defpath.o flashstubs.o \ + hexdecode.o hwparam.o initscript.o labaud.o romload.o sercomm.o\ srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ} all: ${PROGS}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/loadtools/defexitstub.c Thu Oct 27 05:11:05 2016 +0000 @@ -0,0 +1,11 @@ +/* + * The exit-mode setting in the hardware parameter files specified with + * -h or -H is meaningful only for fc-loadtool and fc-buzplay, but + * the same hwparam.c code is included in fc-iram and fc-xram as well. + * This module provides the stub, allowing fc-iram and fc-xram to link. + */ + +void +set_default_exit_mode() +{ +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/loadtools/flashstubs.c Thu Oct 27 05:11:05 2016 +0000 @@ -0,0 +1,16 @@ +/* + * The flash settings in the hardware parameter files specified with + * -h or -H are meaningful only for fc-loadtool, but the same hwparam.c + * code is included in fc-iram, fc-xram and fc-buzplay as well. + * This module provides the stubs, allowing the other tools to link. + */ + +void +set_flash_device() +{ +} + +void +set_boot_reflash_hack() +{ +}
--- a/loadtools/hwparamstubs.c Thu Oct 27 04:58:10 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -/* - * The exit-mode and flash settings in the hardware parameter files - * specified with -h or -H are meaningful only for fc-loadtool, but - * the same hwparam.c code is included in fc-iram and fc-xram as well. - * This module provides the stubs, allowing fc-iram and fc-xram to link. - */ - -void -set_default_exit_mode() -{ -} - -void -set_flash_device() -{ -} - -void -set_boot_reflash_hack() -{ -}