From cb8ceb7857727a24e53b52b111d4119d1ecfc5c8 Mon Sep 17 00:00:00 2001 From: Luca Ceresoli Date: Wed, 1 Oct 2014 17:03:44 +0200 Subject: [PATCH] freescale/imx6-sabresd: use global patch dir for U-Boot patches MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The best practice is to use the BR2_GLOBAL_PATCH_DIR for patches against U-Boot, not BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR. Signed-off-by: Luca Ceresoli Tested-by: Vincent Stehlé Cc: Gilles Talis Cc: Gary Bisson Cc: Thomas Petazzoni Signed-off-by: Thomas Petazzoni --- ...mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch | 0 configs/freescale_imx6dlsabresd_defconfig | 4 +++- configs/freescale_imx6qsabresd_defconfig | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) rename board/freescale/imx6sabresd/{ => patches/uboot}/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch (100%) diff --git a/board/freescale/imx6sabresd/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch b/board/freescale/imx6sabresd/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch similarity index 100% rename from board/freescale/imx6sabresd/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch rename to board/freescale/imx6sabresd/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch diff --git a/configs/freescale_imx6dlsabresd_defconfig b/configs/freescale_imx6dlsabresd_defconfig index 62caf799b2..b8c4b22bb5 100644 --- a/configs/freescale_imx6dlsabresd_defconfig +++ b/configs/freescale_imx6dlsabresd_defconfig @@ -2,6 +2,9 @@ BR2_arm=y BR2_cortex_a9=y +# patches +BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabresd/patches" + # system BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" @@ -25,4 +28,3 @@ BR2_TARGET_UBOOT_FORMAT_IMX=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git" BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga" -BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR="board/freescale/imx6sabresd" diff --git a/configs/freescale_imx6qsabresd_defconfig b/configs/freescale_imx6qsabresd_defconfig index bc0aa46a59..40a9384d56 100644 --- a/configs/freescale_imx6qsabresd_defconfig +++ b/configs/freescale_imx6qsabresd_defconfig @@ -2,6 +2,9 @@ BR2_arm=y BR2_cortex_a9=y +# patches +BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabresd/patches" + # system BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" @@ -25,4 +28,3 @@ BR2_TARGET_UBOOT_FORMAT_IMX=y BR2_TARGET_UBOOT_CUSTOM_GIT=y BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git" BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga" -BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR="board/freescale/imx6sabresd" -- 2.30.2