From patchwork Wed Mar 18 07:56:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Lam X-Patchwork-Id: 6036871 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 160FB9F39E for ; Wed, 18 Mar 2015 08:06:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 938E4204EA for ; Wed, 18 Mar 2015 08:06:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CDA67204D5 for ; Wed, 18 Mar 2015 08:06:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755080AbbCRIGT (ORCPT ); Wed, 18 Mar 2015 04:06:19 -0400 Received: from smtpbg303.qq.com ([184.105.206.26]:60132 "EHLO smtpbg303.qq.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754946AbbCRIGN (ORCPT ); Wed, 18 Mar 2015 04:06:13 -0400 X-Greylist: delayed 429 seconds by postgrey-1.27 at vger.kernel.org; Wed, 18 Mar 2015 04:06:13 EDT X-QQ-mid: bizesmtp7t1426665367t944t229 Received: from JasonK29 (unknown [113.99.4.26]) by esmtp4.qq.com (ESMTP) with id ; Wed, 18 Mar 2015 15:56:05 +0800 (CST) X-QQ-SSF: 01100000002000F0FG12B00A0000000 X-QQ-FEAT: 4b82ZALMUk4H8o10Fy5zu0qnYwRW0+WpRFfsAO1F4xBckbgABL2eyy+TmlsFH 04Rh4Vnj6/T0zoC6aBLYy2QyhobanmLxsen2GSL2gYqkxcSsiaifZEB4rcn8ebnX1NWsdnP 6cLRiO78oTox3KDtoNZu+Gd0Ee92re9NzWpgxeqjSgedy7PGVwDqLOMero+tC2G+QDMUAEn YfUNeFrk26c+wxB4kqag+7E4VM5LViFM= X-QQ-GoodBg: 0 From: "Jason" To: "'Tony Lindgren'" , Cc: References: <1426551911-17356-1-git-send-email-tony@atomide.com> <1426551911-17356-2-git-send-email-tony@atomide.com> In-Reply-To: <1426551911-17356-2-git-send-email-tony@atomide.com> Subject: RE: [PATCH 1/3] ARM: OMAP3: Remove legacy support for EMA-Tech Stalker board Date: Wed, 18 Mar 2015 15:56:02 +0800 Message-ID: <018901d06150$fbbd27a0$f33776e0$@ema-tech.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIr+j2TTb7QrC4I11fdeW0RAsV29QJRlPucnFggV2A= Content-Language: en-us X-QQ-SENDSIZE: 520 X-QQ-FName: 6D30E22DCDF54EB1B06B5F2867ABB8BC X-QQ-LocalIP: 163.177.66.155 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Tony, I think it's good to remove this legacy code. Will let u know once I got the booting dst. Best regards, Jason Lam Embedded Machine Technology Co., Ltd Tel: +86-020-87643879-830 Fax: +86-020-87245492 Mobile: +86-13828455425 Email: lzg@ema-tech.com Website: http://www.ema-tech.com -----Original Message----- From: Tony Lindgren [mailto:tony@atomide.com] Sent: Tuesday, March 17, 2015 8:25 AM To: linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org; Jason Lam Subject: [PATCH 1/3] ARM: OMAP3: Remove legacy support for EMA-Tech Stalker board We've been moving all omap2+ based systems to boot in device tree only mode for a few years now. Only omap3 has legacy booting support remaining. Most omap3 boards already have related arch/arm/boot/*.dts* files for booting with device tree. As it seems this board only has minimal support upstreamed for the legacy booting and has not seen activity for on the mailing lists for a few years, let's attempt to remove the related legacy board-*.c file. I do not have this board, but it seems getting the same level of support with device tree based booting is mostly just configuring the .dts file. And there is no need to upgrade the boot loader as we can boot with appended DTB too. And most of the omap3 boards seem to be related to omap3-evm, and omap3beagleboard that are supported with device tree based booting. If somebody is using this board actively with the mainline kernel, please communicate this to the linux-omap mailing list so we can get the board booting with device tree based support. I can help some too getting the minimal device tree based booting going if help is needed. The reason for attempting to remove this board now is that I'd rather get the remaining omap3 legacy booting support into a known state where we at least have a .dts file being written for the remaining legacy boards. That is because for the next few merge cycles we can still revert this patch if absolutely necessary, but I'd rather not get suprised by missing .dts files at the point where we are ready to drop all remaining omap3 legacy booting support later on. Also looks like this board is no longer listed on ema-tech.com product page at: http://ema-tech.com/en/categories.html Cc: Jason Lam Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/Kconfig | 6 - arch/arm/mach-omap2/Makefile | 2 - arch/arm/mach-omap2/board-omap3stalker.c | 433 ------------------------------- 3 files changed, 441 deletions(-) delete mode 100644 arch/arm/mach-omap2/board-omap3stalker.c -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 2b8e477..88e3eaf 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -260,12 +260,6 @@ config MACH_CM_T35 config MACH_CM_T3730 bool -config MACH_SBC3530 - bool "OMAP3 SBC STALKER board" - depends on ARCH_OMAP3 - default y - select OMAP_PACKAGE_CUS - config OMAP3_SDRC_AC_TIMING bool "Enable SDRC AC timing register changes" depends on ARCH_OMAP3 diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index b83f18f..10b9563 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -256,8 +256,6 @@ obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-video.o obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o obj-$(CONFIG_MACH_TOUCHBOOK) += board-omap3touchbook.o -obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o - # Platform specific device init code omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c deleted file mode 100644 index 6311f4b..0000000 --- a/arch/arm/mach-omap2/board-omap3stalker.c +++ /dev/null @@ -1,433 +0,0 @@ -/* - * linux/arch/arm/mach-omap2/board-omap3evm.c - * - * Copyright (C) 2008 Guangzhou EMA-Tech - * - * Modified from mach-omap2/board-omap3evm.c - * - * Initial code: Syed Mohammed Khasim - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - -#include "common.h" -#include "gpmc.h" -#include -#include