Decouple filepaths from rcS/MTD

This commit is contained in:
Peter van der Perk
2024-07-24 11:39:44 -04:00
committed by Daniel Agar
parent 79e0e00d8c
commit 46e43ec725
13 changed files with 101 additions and 32 deletions
+2 -8
View File
@@ -120,14 +120,8 @@ then
. $FRC
else
#
# Set the parameter file the board supports params on
# MTD device.
#
if mft query -q -k MTD -s MTD_PARAMETERS -v /fs/mtd_params
then
set PARAM_FILE /fs/mtd_params
fi
# Load param file location from kconfig
. ${R}etc/init.d/rc.filepaths
# Check if /fs/mtd_params is a valid BSON file
if ! bsondump docsize /fs/mtd_caldata