diff mbox series

[2/6] configs/stm32mp157: use common genimage config file for stm32mp157 boards

Message ID 20200321133222.1393674-2-b.bilas@grinn-global.com
State Accepted
Headers show
Series None | expand

Commit Message

Bartosz Bilas March 21, 2020, 1:32 p.m. UTC
It will be useful for the upcoming introducing stm32mp157a dk2 board.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
 .../{stm32mp157c-dk2 => common/stm32mp157}/genimage.cfg         | 0
 configs/stm32mp157c_dk2_defconfig                               | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename board/stmicroelectronics/{stm32mp157c-dk2 => common/stm32mp157}/genimage.cfg (100%)
diff mbox series

Patch

diff --git a/board/stmicroelectronics/stm32mp157c-dk2/genimage.cfg b/board/stmicroelectronics/common/stm32mp157/genimage.cfg
similarity index 100%
rename from board/stmicroelectronics/stm32mp157c-dk2/genimage.cfg
rename to board/stmicroelectronics/common/stm32mp157/genimage.cfg
diff --git a/configs/stm32mp157c_dk2_defconfig b/configs/stm32mp157c_dk2_defconfig
index 273eda46a0..25a96fa276 100644
--- a/configs/stm32mp157c_dk2_defconfig
+++ b/configs/stm32mp157c_dk2_defconfig
@@ -3,7 +3,7 @@  BR2_cortex_a7=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
 BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32mp157c-dk2/genimage.cfg"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/common/stm32mp157/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.7"