u-boot-fw-utils: consolidate common files by STORAGE_MEDIA

Platform-based variable STORAGE_MEDIA, allows us to select the
correct configuration file without needing to replicate it per
platform.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2020-05-05 12:56:39 +02:00
parent de79310dc8
commit fb2e7e37f4
5 changed files with 2 additions and 16 deletions

View File

@ -1,7 +0,0 @@
# Configuration file for fw_(printenv/setenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Device name Offset Size
/dev/mmcblk0boot1 0x1C0000 0x4000
/dev/mmcblk0boot1 0x1E0000 0x4000

View File

@ -1,7 +0,0 @@
# Configuration file for fw_(printenv/setenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Device name Offset Size
/dev/mmcblk0boot1 0x1C0000 0x4000
/dev/mmcblk0boot1 0x1E0000 0x4000

View File

@ -1,9 +1,9 @@
# Copyright (C) 2015-2017 Digi International # Copyright (C) 2015-2020 Digi International
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
SRC_URI += " \ SRC_URI += " \
file://fw_env.config \ file://${STORAGE_MEDIA}/fw_env.config \
" "
UBOOT_FW_UTILS_PATCHES = " \ UBOOT_FW_UTILS_PATCHES = " \