From patchwork Fri May 11 12:06:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Lilja X-Patchwork-Id: 911962 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40j83L4vzlz9s2L for ; Fri, 11 May 2018 22:07:09 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 1AA6AC223AE; Fri, 11 May 2018 12:07:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id EB6BFC22319; Fri, 11 May 2018 12:07:01 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8372FC22319; Fri, 11 May 2018 12:07:01 +0000 (UTC) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by lists.denx.de (Postfix) with ESMTPS id 32308C222D5 for ; Fri, 11 May 2018 12:07:01 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id CBD4540033 for ; Fri, 11 May 2018 14:07:00 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id B376640016; Fri, 11 May 2018 14:07:00 +0200 (CEST) Received: from localhost.localdomain (h-57-173.A496.priv.bahnhof.se [79.136.57.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id DF9F44000E; Fri, 11 May 2018 14:06:58 +0200 (CEST) From: Magnus Lilja To: u-boot@lists.denx.de Date: Fri, 11 May 2018 14:06:53 +0200 Message-Id: <20180511120655.3862-1-lilja.magnus@gmail.com> X-Mailer: git-send-email 2.17.0 X-Virus-Scanned: ClamAV using ClamSMTP Cc: fabio.estevam@nxp.com, trini@konsulko.com Subject: [U-Boot] [PATCH 0/2] i.MX31PDK: Move CONFIG_MX31* to Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Refresh i.MX31 and i.MX31PDK support in U-boot by moving some CONFIG_MX31* settings to Kconfig options. Boots nicely on actual hardware. Applies to tip of tree of the main U-boot branch, please advice if I should rebase on top of another tree. Regarding compiling and booting: I had to compile U-boot with an old GCC v5 compiler in order to get it to boot. Seems like either something is broken with newer GCC or (more likely) something is broken in the U-boot code when using GCC >= 6 for the ARM1136/i.MX31PDK. Magnus Lilja (2): mx31pdk: Convert CONFIG_MX31 flag to use Kconfig. mx31: Convert MX31_HCLK_FREQ and MX31_CLK32 to Kconfig. arch/arm/Kconfig | 14 +++++------ arch/arm/include/asm/arch-mx31/clock.h | 8 ------ arch/arm/mach-imx/mx3/Kconfig | 34 ++++++++++++++++++++++++++ configs/mx31pdk_defconfig | 3 ++- include/configs/mx31pdk.h | 2 -- 5 files changed, 42 insertions(+), 19 deletions(-) create mode 100644 arch/arm/mach-imx/mx3/Kconfig