# HG changeset patch # User Mychaela Falconia # Date 1477545065 0 # Node ID 54a6864cabf425fa18e0a50b3d105464cef49c7d # Parent b064c2ce43d21768310ecd02623fe0e5eb7b4208 loadtools: hwparamstubs.c split in preparation for adding fc-buzplay diff -r b064c2ce43d2 -r 54a6864cabf4 loadtools/Makefile --- 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} diff -r b064c2ce43d2 -r 54a6864cabf4 loadtools/defexitstub.c --- /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() +{ +} diff -r b064c2ce43d2 -r 54a6864cabf4 loadtools/flashstubs.c --- /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() +{ +} diff -r b064c2ce43d2 -r 54a6864cabf4 loadtools/hwparamstubs.c --- 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() -{ -}