summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/Makefile
diff options
context:
space:
mode:
authorMychaela Falconia <falcon@freecalypso.org>2020-09-28 21:00:57 +0000
committerHarald Welte <laforge@osmocom.org>2020-10-01 01:48:43 +0200
commit63fa84a93d17bb1faf840c3b88a8b5bbb8eea1d6 (patch)
treec24feafc788a0b24edafcafdf4fbe1b6ca90da5f /src/target/firmware/Makefile
parent905c602373d92ace5a08832a6e18462cd1e3426b (diff)
firmware: calibration: split afcparams.c from rf_tables.c for gta0x
We have new hardware targets that have appeared since the original OS#3582 patch was created, namely Huawei GTM900-B and the upcoming FreeCalypso Caramel2 board. These new targets need the same APC offset as gta0x and fcdev3b (TI's original Leonardo value), they have proper calibration records in their FFS (meaning that all compiled-in numbers become no-effect placeholders), and their PA tracts are similar enough to Openmoko/FCDEV3B to where even in the absence of calibration OM/FC numbers are close enough. Thus most of the tables in board/gta0x/rf_tables.c should be reusable by these new targets. However, these new targets have quite different VCXOs from Openmoko and FCDEV3B, thus they need different AFC parameters. Thus we split board/gta0x/afcparams.c from board/gta0x/rf_tables.c, making the latter more reusable. Related: OS#3582 Change-Id: I92e245843253f279dd6d61bd5098766694c5215f
Diffstat (limited to 'src/target/firmware/Makefile')
-rw-r--r--src/target/firmware/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/firmware/Makefile b/src/target/firmware/Makefile
index 6e511073..6eacb33b 100644
--- a/src/target/firmware/Makefile
+++ b/src/target/firmware/Makefile
@@ -44,6 +44,7 @@ calypso_COMMON_OBJS=board/common/calypso_uart.o \
# OpenMoko GTA0x
BOARD_gta0x_OBJS=$(calypso_COMMON_OBJS) board/gta0x/init.o \
board/gta0x/rffe_gta0x_triband.o board/gta0x/rf_tables.o \
+ board/gta0x/afcparams.o \
board/common/readcal_tiffs.o battery/dummy.o $(FB_dummy_OBJS)
BOARD_gta0x_ENVIRONMENTS=highram
@@ -56,6 +57,7 @@ BOARD_gtm900b_ENVIRONMENTS=highram
# FreeCalypso FCDEV3B
BOARD_fcdev3b_OBJS=$(calypso_COMMON_OBJS) board/fcdev3b/init.o \
board/gta0x/rffe_gta0x_triband.o board/gta0x/rf_tables.o \
+ board/gta0x/afcparams.o \
board/common/readcal_tiffs.o battery/dummy.o $(FB_dummy_OBJS)
BOARD_fcdev3b_ENVIRONMENTS=highram