base-files: add minimal mmc support
authorDavide Fioravanti <pantanastyle@gmail.com>
Tue, 1 Sep 2020 23:18:16 +0000 (01:18 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 31 Oct 2021 23:56:51 +0000 (00:56 +0100)
commit6e137943442fb0ab66c34462fa19e5a4260eddd5
tree004adb0dc825fbf919dcec364de3616309d5aadd
parent24efb49ff0ef41979e58e1fc5a88281088d999cd
base-files: add minimal mmc support

Added minimal mmc support for helper functions:

 - find_mmc_part: Look for a given partition name. Returns the
coresponding partition path
 - caldata_extract_mmc: Look for a given partition name and then
extracts the calibration data
 - mmc_get_mac_binary: Returns the mac address from a given partition
name and offset

Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
[replace dd with caldata_dd, moved sysupgrade mmc to orbi]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
package/base-files/files/lib/functions.sh
package/base-files/files/lib/functions/caldata.sh
package/base-files/files/lib/functions/system.sh