meta-digi: trailing whitespace cleanup

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2016-08-29 19:32:23 +02:00
parent fb656a8ed1
commit ab5f50e16a
11 changed files with 22 additions and 22 deletions

View File

@ -1,6 +1,6 @@
#@TYPE: Machine #@TYPE: Machine
#@NAME: ConnectCore for MX28 JumpStart Kit. #@NAME: ConnectCore for MX28 JumpStart Kit.
#@DESCRIPTION: Machine configuration for Digi's ConnectCore for MX28 JSK. #@DESCRIPTION: Machine configuration for Digi's ConnectCore for MX28 JSK.
include conf/machine/include/ccardimx28.inc include conf/machine/include/ccardimx28.inc

View File

@ -11,7 +11,7 @@ gEnableIdleScan=0
# Increase sleep duration (seconds) during IMPS # Increase sleep duration (seconds) during IMPS
# 0 implies no periodic wake up from IMPS. Periodic wakeup is # 0 implies no periodic wake up from IMPS. Periodic wakeup is
# unnecessary if Idle Scan is disabled. # unnecessary if Idle Scan is disabled.
gImpsModSleepTime=0 gImpsModSleepTime=0
@ -106,7 +106,7 @@ gNeighborLookupThreshold=76
gNeighborReassocThreshold=81 gNeighborReassocThreshold=81
#Check if the AP to which we are roaming is better than current AP in terms of RSSI. #Check if the AP to which we are roaming is better than current AP in terms of RSSI.
#Checking is disabled if set to Zero.Otherwise it will use this value as to how better #Checking is disabled if set to Zero.Otherwise it will use this value as to how better
#the RSSI of the new/roamable AP should be for roaming #the RSSI of the new/roamable AP should be for roaming
RoamRssiDiff=3 RoamRssiDiff=3
@ -162,7 +162,7 @@ gApAutoChannelSelection=0
gEnablePhyAgcListenMode=128 gEnablePhyAgcListenMode=128
#SOFTAP Channel Range selection #SOFTAP Channel Range selection
gAPChannelSelectStartChannel=1 gAPChannelSelectStartChannel=1
@ -241,7 +241,7 @@ gVhtTxMCS2x2=2
gSetTxChainmask1x1=1 gSetTxChainmask1x1=1
gSetRxChainmask1x1=1 gSetRxChainmask1x1=1
# 1=enable STBC; 0=disable STBC # 1=enable STBC; 0=disable STBC
gEnableRXSTBC=1 gEnableRXSTBC=1
# 1=enable tx STBC; 0=disable # 1=enable tx STBC; 0=disable
@ -250,7 +250,7 @@ gEnableTXSTBC=1
# 1=enable rx LDPC; 0=disable # 1=enable rx LDPC; 0=disable
gEnableRXLDPC=1 gEnableRXLDPC=1
#Enable Scan Results Aging based on timer #Enable Scan Results Aging based on timer
#Timer value is in seconds #Timer value is in seconds
#If Set to 0 it will not enable the feature #If Set to 0 it will not enable the feature
gScanAgingTime=0 gScanAgingTime=0

View File

@ -11,7 +11,7 @@ OBJECTS = code/back_end/src/*.c
HEADERS = code/back_end/hdr HEADERS = code/back_end/hdr
LIBS_PATH = linux64/lib LIBS_PATH = linux64/lib
%.o: %.c %.o: %.c
$(CC) $(CFLAGS) -c $< -o $@ $(CC) $(CFLAGS) -c $< -o $@
.PRECIOUS: $(TARGET) $(OBJECTS) .PRECIOUS: $(TARGET) $(OBJECTS)

View File

@ -4,7 +4,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
SRC_URI += " \ SRC_URI += " \
file://fw_env.config \ file://fw_env.config \
file://0001-tools-env-implement-support-for-environment-encrypti.patch \ file://0001-tools-env-implement-support-for-environment-encrypti.patch \
" "
SRC_URI_append_ccimx6 = " file://0002-fw_env-add-support-to-unlock-emmc-boot-partition.patch" SRC_URI_append_ccimx6 = " file://0002-fw_env-add-support-to-unlock-emmc-boot-partition.patch"

View File

@ -27,7 +27,7 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
# In order to sign and encrypt the uImage, we need to know the address # In order to sign and encrypt the uImage, we need to know the address
# in which U-Boot loads the uImage. This is CONFIG_LOADADDR in U-Boot # in which U-Boot loads the uImage. This is CONFIG_LOADADDR in U-Boot
# configuration file. # configuration file.
UBOOT_CONFIG_LOADADDR = "" UBOOT_CONFIG_LOADADDR = ""
UBOOT_CONFIG_LOADADDR_ccimx6 = "0x12000000" UBOOT_CONFIG_LOADADDR_ccimx6 = "0x12000000"
UBOOT_CONFIG_LOADADDR_ccimx6ul = "0x80800000" UBOOT_CONFIG_LOADADDR_ccimx6ul = "0x80800000"
@ -40,7 +40,7 @@ do_deploy_append() {
[ -n "${TRUSTFENCE_DEK_PATH}" ] && [ "${TRUSTFENCE_DEK_PATH}" != "0" ] && export CONFIG_DEK_PATH="${TRUSTFENCE_DEK_PATH}" [ -n "${TRUSTFENCE_DEK_PATH}" ] && [ "${TRUSTFENCE_DEK_PATH}" != "0" ] && export CONFIG_DEK_PATH="${TRUSTFENCE_DEK_PATH}"
"${THISDIR}/../../scripts/trustfence-sign-uimage.sh" "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin" "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}-signed.bin" "${THISDIR}/../../scripts/trustfence-sign-uimage.sh" "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin" "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}-signed.bin"
mv "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}-signed.bin" "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin" mv "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}-signed.bin" "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin"
fi fi
(cd ${DEPLOYDIR} && ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}) (cd ${DEPLOYDIR} && ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME})
} }

View File

@ -11,7 +11,7 @@
File = "%srk_table%" File = "%srk_table%"
Source index = %key_index% Source index = %key_index%
[Install CSFK] [Install CSFK]
File = "%cert_csf%" File = "%cert_csf%"

View File

@ -18,7 +18,7 @@
# CONFIG_SIGN_KEYS_PATH: (mandatory) path to the CST folder by NXP with keys generated. # CONFIG_SIGN_KEYS_PATH: (mandatory) path to the CST folder by NXP with keys generated.
# CONFIG_UIMAGE_LOADADDR: (mandatory) memory address in which U-Boot loads the uImage # CONFIG_UIMAGE_LOADADDR: (mandatory) memory address in which U-Boot loads the uImage
# CONFIG_KEY_INDEX: (optional) key index to use for signing. Default is 0. # CONFIG_KEY_INDEX: (optional) key index to use for signing. Default is 0.
# CONFIG_DEK_PATH: (optional) Path to keyfile. Define it to generate # CONFIG_DEK_PATH: (optional) Path to keyfile. Define it to generate
# encrypted images # encrypted images
# #
#=============================================================================== #===============================================================================
@ -44,7 +44,7 @@ if [ -n "${CONFIG_DEK_PATH}" ]; then
echo "DEK not found. Generating random 256 bit DEK." echo "DEK not found. Generating random 256 bit DEK."
[ -d $(dirname ${CONFIG_DEK_PATH}) ] || mkdir -p $(dirname ${CONFIG_DEK_PATH}) [ -d $(dirname ${CONFIG_DEK_PATH}) ] || mkdir -p $(dirname ${CONFIG_DEK_PATH})
dd if=/dev/urandom of="${CONFIG_DEK_PATH}" bs=32 count=1 dd if=/dev/urandom of="${CONFIG_DEK_PATH}" bs=32 count=1
fi fi
dek_size="$((8 * $(stat -L -c %s ${CONFIG_DEK_PATH})))" dek_size="$((8 * $(stat -L -c %s ${CONFIG_DEK_PATH})))"
if [ "${dek_size}" != "128" ] && [ "${dek_size}" != "192" ] && [ "${dek_size}" != "256" ]; then if [ "${dek_size}" != "128" ] && [ "${dek_size}" != "192" ] && [ "${dek_size}" != "256" ]; then
echo "Invalid DEK size: ${dek_size} bits. Valid sizes are 128, 192 and 256 bits" echo "Invalid DEK size: ${dek_size} bits. Valid sizes are 128, 192 and 256 bits"

View File

@ -51,7 +51,7 @@ python () {
if (d.getVar("TRUSTFENCE_DEK_PATH") == "default"): if (d.getVar("TRUSTFENCE_DEK_PATH") == "default"):
d.setVar("TRUSTFENCE_DEK_PATH", d.getVar("TRUSTFENCE_SIGN_KEYS_PATH") + "/dek.bin"); d.setVar("TRUSTFENCE_DEK_PATH", d.getVar("TRUSTFENCE_SIGN_KEYS_PATH") + "/dek.bin");
if (d.getVar("TRUSTFENCE_SIGN", True) == "1"): if (d.getVar("TRUSTFENCE_SIGN", True) == "1"):
d.appendVar("UBOOT_EXTRA_CONF", "CONFIG_SIGN_IMAGE=y ") d.appendVar("UBOOT_EXTRA_CONF", "CONFIG_SIGN_IMAGE=y ")
if d.getVar("TRUSTFENCE_SIGN_KEYS_PATH", True): if d.getVar("TRUSTFENCE_SIGN_KEYS_PATH", True):

View File

@ -114,9 +114,9 @@ SANITY_TESTED_DISTROS ?= " \
# Default hash policy for distro # Default hash policy for distro
BB_SIGNATURE_HANDLER ?= 'OEBasicHash' BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
# #
# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in # OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
# an incompatible way. Such changes should usually be detailed in the commit # an incompatible way. Such changes should usually be detailed in the commit
# that breaks the format and have been previously discussed on the mailing list # that breaks the format and have been previously discussed on the mailing list
# with general agreement from the core team. # with general agreement from the core team.
# #
OELAYOUT_ABI = "11" OELAYOUT_ABI = "11"

View File

@ -27,9 +27,9 @@ background_connect() {
[ -n "${IF_PIN}" ] && ARGS="${ARGS},pin=${IF_PIN}" [ -n "${IF_PIN}" ] && ARGS="${ARGS},pin=${IF_PIN}"
[ -n "${IF_USER}" ] && ARGS="${ARGS},user=${IF_USER}" [ -n "${IF_USER}" ] && ARGS="${ARGS},user=${IF_USER}"
[ -n "${IF_PASSWORD}" ] && ARGS="${ARGS},password=${IF_PASSWORD}" [ -n "${IF_PASSWORD}" ] && ARGS="${ARGS},password=${IF_PASSWORD}"
[ -n "${IF_PORT}" ] && ARGS="${ARGS},number=*99#" [ -n "${IF_PORT}" ] && ARGS="${ARGS},number=*99#"
# Enable the modem and connect to provider # Enable the modem and connect to provider
mmcli -m 0 --simple-connect=${ARGS} > /dev/null 2>&1 mmcli -m 0 --simple-connect=${ARGS} > /dev/null 2>&1

View File

@ -57,7 +57,7 @@ int main(void)
printf("Could't open PCM '%s': %s\n", device, snd_strerror(err)); printf("Could't open PCM '%s': %s\n", device, snd_strerror(err));
return EXIT_FAILURE; return EXIT_FAILURE;
} }
if ((err = snd_pcm_set_params(handle, if ((err = snd_pcm_set_params(handle,
PCM_TEST_FORMAT, PCM_TEST_FORMAT,
SND_PCM_ACCESS_RW_INTERLEAVED, SND_PCM_ACCESS_RW_INTERLEAVED,
@ -81,16 +81,16 @@ int main(void)
err = EXIT_FAILURE; err = EXIT_FAILURE;
goto exit_close_pcm; goto exit_close_pcm;
} }
if (frames > 0 && frames < total_frames) if (frames > 0 && frames < total_frames)
printf("Short write (expected %li, wrote %li)\n", printf("Short write (expected %li, wrote %li)\n",
total_frames, frames); total_frames, frames);
} }
err = EXIT_SUCCESS; err = EXIT_SUCCESS;
exit_close_pcm: exit_close_pcm:
snd_pcm_close(handle); snd_pcm_close(handle);
return err; return err;
} }