view scripts/mkcomp-test.sh @ 624:012028896cfb

FFS dev.c, Leonardo target: Fujitsu MB84VF5F5F4J2 #if 0'ed out The FFS code we got from TI/Openmoko had a stanza for "Fujitsu MB84VF5F5F4J2 stacked device", using a fake device ID code that would need to be patched manually into cfgffs.c (suppressing and overriding autodetection) and using an FFS base address in the nCS2 bank, indicating that this FFS config was probably meant for the MCP version of Leonardo which allows for 16 MiB flash with a second bank on nCS2. We previously had this FFS config stanza conditionalized under CONFIG_TARGET_LEONARDO because the base address contained therein is invalid for other targets, but now that we actually have a Leonardo build target in FC Magnetite, I realize that the better approach is to #if 0 out this stanza altogether: it is already non-functional because it uses a fake device ID code, thus it is does not add support for more Leonardo board variants, instead it is just noise.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 22 Dec 2019 21:24:29 +0000
parents 5fbcfd465de0
children 8cf3029429f3
line wrap: on
line source

#!/bin/sh

if [ -z "$BUILD_DIR" ]
then
	BUILD_DIR=build-sb
fi

if [ -z "$USE_STR2IND" ]
then
	USE_STR2IND=0
fi

if [ -z "$CHIPSET" ]
then
	CHIPSET=10
fi

if [ -z "$DSP" ]
then
	DSP=36
fi

if [ -z "$RF" ]
then
	RF=12
fi

if [ -z "$L1_DYN_DSP_DWNLD" ]
then
	L1_DYN_DSP_DWNLD=1
fi

if [ -z "$TCSENV" ]
then
	TCSENV=2
fi

case "$TCSENV" in
	2)
		CONDAT=condat2
		GPF=gpf2
		CDGINC=cdg211/cdginc
		CDGPRIM=cdg211/prim
		ACI=aci2
		;;
	3)
		CONDAT=condat3
		GPF=gpf3
		CDGINC=cdg-hybrid/cdginc
		CDGPRIM=cdg-hybrid/sap-inline
		ACI=g23m-aci
		;;
	*)
		echo "Error: bad TCSENV= setting" 1>&2
		exit 1
		;;
esac

if [ -z "$MMI" ]
then
	MMI=0
fi

GPRS=1
SRVC=1

export ACI BUILD_DIR CDGINC CDGPRIM CHIPSET CONDAT DSP GPF GPRS
export L1_DYN_DSP_DWNLD MMI RF SRVC USE_STR2IND

exec scripts/mk-component.sh "$@"