From patchwork Sat Sep 3 08:22:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 665402 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3sR8CV70Fvz9s2k for ; Sat, 3 Sep 2016 18:23:50 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=MLHcJLUP; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 882BFA7535; Sat, 3 Sep 2016 10:23:49 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9NuAOoXDtkH8; Sat, 3 Sep 2016 10:23:49 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DEB71A752A; Sat, 3 Sep 2016 10:23:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 420E6A752A for ; Sat, 3 Sep 2016 10:23:46 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qbM1YAlz0bNp for ; Sat, 3 Sep 2016 10:23:46 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by theia.denx.de (Postfix) with ESMTPS id 1AD3CA7527 for ; Sat, 3 Sep 2016 10:23:44 +0200 (CEST) Received: by mail-pf0-f194.google.com with SMTP id g202so6803883pfb.1 for ; Sat, 03 Sep 2016 01:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=T+1FbiIye2+GXw5vPZQ4C2KN+I+3pirZECqeunUYyRI=; b=MLHcJLUPrQVhb6H2kjRFWn7gG/J1YK9vLxE0NfJwb+GvmGYDlEWBCkQ0RXw19ZqbvX OfKWLJuHTSixHrIbmW3NeAVsnmYhFJIumtd480XgtdweQ09GZ8dmHRUhueWuq/fBVIwP soTCUJBxaNV/P3fuZ8I2v914b9lcCACBRN89vJGNAVEmce4uZtxes7YvDwVgMq/ayZXy B2Bho5Z/ThdLUfcF7U+4pCRdoOwJRjnTrSOsAUJ+HLZRLmVlbCmRpPmFXhuQdYEsKZFL Xif3XLz52G7iAjM6q48iXOBTP3Ki8eDk6+8y7YLygeU8/pfHeAQNR6n/WPpAMZ6ztgza La0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=T+1FbiIye2+GXw5vPZQ4C2KN+I+3pirZECqeunUYyRI=; b=luBJvRXu9G5caIxHJRbokd6ZLfJQth5WlUnyIrxLkY1GM5Yupcew6T1kADwBawxFjl Xduj094347TVwgII9KvRRuzC9LT32Utyn0A7v90XBzgDswe/jHhC0OaDT2iS0JbJv6ZJ NQyVNW+PE2pd0mNeITD6V7Wkc1XIM9GRHmFqr2L74ToKgkuz8gw0zT42U2VBdnsyuKpm NsX+mN9KPXGzyxtx+izwb9irrMtkr6HROK5HqRPC088VaRZ+p9OZEv39YHZU4eZGkcMd gY2glyH64NU+7LbP8W692J6lNn6cZo2qppIc8pqXeVmyE56dIxHj70UkaMfIWDnKatyF ZOZg== X-Gm-Message-State: AE9vXwOp22bHcHpqIsC+Wi1vvelMU0AAldCqjpQdOOFZXxNQvbVJ/KztU1uFO08f84DTyA== X-Received: by 10.98.156.213 with SMTP id u82mr32757700pfk.65.1472891022892; Sat, 03 Sep 2016 01:23:42 -0700 (PDT) Received: from Mr.J ([183.82.231.51]) by smtp.gmail.com with ESMTPSA id bl6sm10166577pad.6.2016.09.03.01.23.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 03 Sep 2016 01:23:41 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: u-boot@lists.denx.de Date: Sat, 3 Sep 2016 13:52:53 +0530 Message-Id: <1472890977-7377-1-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 Cc: Matteo Lisi , Jagan Teki Subject: [U-Boot] [PATCH 1/5] imx: mx6ul: Refactor common code as mx6ul X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Since most of the board along with the config code used for mx6ul boards are common and for improving code reusability refactor or group code as mx6ul notation. Hence for new board its simply add new defconfig with existing board or related configs. include/configs/mx6ul_14x14_evk.h -> include/configs/mx6ul.h board/freescale/mx6ul_14x14_evk -> board/freescale/mx6ul board/freescale/mx6ul/mx6ul_14x14_evk.c -> board/freescale/mx6ul/board.c Cc: Stefano Babic Cc: Peng Fan Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/cpu/armv7/mx6/Kconfig | 2 +- board/freescale/{mx6ul_14x14_evk => mx6ul}/Kconfig | 4 ++-- board/freescale/{mx6ul_14x14_evk => mx6ul}/MAINTAINERS | 4 ++-- board/freescale/{mx6ul_14x14_evk => mx6ul}/Makefile | 2 +- board/freescale/{mx6ul_14x14_evk => mx6ul}/README | 0 board/freescale/{mx6ul_14x14_evk/mx6ul_14x14_evk.c => mx6ul/board.c} | 0 include/configs/{mx6ul_14x14_evk.h => mx6ul.h} | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename board/freescale/{mx6ul_14x14_evk => mx6ul}/Kconfig (72%) rename board/freescale/{mx6ul_14x14_evk => mx6ul}/MAINTAINERS (64%) rename board/freescale/{mx6ul_14x14_evk => mx6ul}/Makefile (76%) rename board/freescale/{mx6ul_14x14_evk => mx6ul}/README (100%) rename board/freescale/{mx6ul_14x14_evk/mx6ul_14x14_evk.c => mx6ul/board.c} (100%) rename include/configs/{mx6ul_14x14_evk.h => mx6ul.h} (100%) diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig index 78383f0..0c1bc78 100644 --- a/arch/arm/cpu/armv7/mx6/Kconfig +++ b/arch/arm/cpu/armv7/mx6/Kconfig @@ -216,7 +216,7 @@ source "board/freescale/mx6sabresd/Kconfig" source "board/freescale/mx6slevk/Kconfig" source "board/freescale/mx6sxsabresd/Kconfig" source "board/freescale/mx6sxsabreauto/Kconfig" -source "board/freescale/mx6ul_14x14_evk/Kconfig" +source "board/freescale/mx6ul/Kconfig" source "board/phytec/pcm058/Kconfig" source "board/gateworks/gw_ventana/Kconfig" source "board/kosagi/novena/Kconfig" diff --git a/board/freescale/mx6ul_14x14_evk/Kconfig b/board/freescale/mx6ul/Kconfig similarity index 72% rename from board/freescale/mx6ul_14x14_evk/Kconfig rename to board/freescale/mx6ul/Kconfig index 8210cd3..f97b905 100644 --- a/board/freescale/mx6ul_14x14_evk/Kconfig +++ b/board/freescale/mx6ul/Kconfig @@ -1,12 +1,12 @@ if TARGET_MX6UL_14X14_EVK || TARGET_MX6UL_9X9_EVK config SYS_BOARD - default "mx6ul_14x14_evk" + default "mx6ul" config SYS_VENDOR default "freescale" config SYS_CONFIG_NAME - default "mx6ul_14x14_evk" + default "mx6ul" endif diff --git a/board/freescale/mx6ul_14x14_evk/MAINTAINERS b/board/freescale/mx6ul/MAINTAINERS similarity index 64% rename from board/freescale/mx6ul_14x14_evk/MAINTAINERS rename to board/freescale/mx6ul/MAINTAINERS index 7c7a196..20caeee 100644 --- a/board/freescale/mx6ul_14x14_evk/MAINTAINERS +++ b/board/freescale/mx6ul/MAINTAINERS @@ -1,7 +1,7 @@ MX6ULEVK BOARD M: Peng Fan S: Maintained -F: board/freescale/mx6ul_14x14_evk/ -F: include/configs/mx6ul_14x14_evk.h +F: board/freescale/mx6ul/ +F: include/configs/mx6ul.h F: configs/mx6ul_14x14_evk_defconfig F: configs/mx6ul_9x9_evk_defconfig diff --git a/board/freescale/mx6ul_14x14_evk/Makefile b/board/freescale/mx6ul/Makefile similarity index 76% rename from board/freescale/mx6ul_14x14_evk/Makefile rename to board/freescale/mx6ul/Makefile index 61f6778..80ab4a5 100644 --- a/board/freescale/mx6ul_14x14_evk/Makefile +++ b/board/freescale/mx6ul/Makefile @@ -3,4 +3,4 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-y := mx6ul_14x14_evk.o +obj-y := board.o diff --git a/board/freescale/mx6ul_14x14_evk/README b/board/freescale/mx6ul/README similarity index 100% rename from board/freescale/mx6ul_14x14_evk/README rename to board/freescale/mx6ul/README diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul/board.c similarity index 100% rename from board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c rename to board/freescale/mx6ul/board.c diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul.h similarity index 100% rename from include/configs/mx6ul_14x14_evk.h rename to include/configs/mx6ul.h