From patchwork Sun Feb 11 10:19:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 871751 X-Patchwork-Delegate: jagannadh.teki@gmail.com 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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="QGuYK+Ml"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zfQ7n0bn7z9sRW for ; Sun, 11 Feb 2018 21:31:16 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 83FFFC21E44; Sun, 11 Feb 2018 10:27:08 +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, RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID 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 18E70C21E63; Sun, 11 Feb 2018 10:26:37 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 045AAC21EE8; Sun, 11 Feb 2018 10:24:40 +0000 (UTC) Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by lists.denx.de (Postfix) with ESMTPS id 20625C21EFD for ; Sun, 11 Feb 2018 10:24:36 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id 17so3006406pfw.11 for ; Sun, 11 Feb 2018 02:24:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iGYSZU8WjZ00LM3OXv5W5WnsIFx6exSKnl1y4vbyM2Q=; b=QGuYK+Ml3hFoaiDiYDdpKV8G0AfcqoqAaSxDaWFEEm+d+LxeUcoF8vlVM+4XlaHPKY IwJyNjXzYSiEWJWhlebL1pVIAVRyza8kSFDPbdLEvs7FDzn3tt3Tspw/pevSLpy/fk2m egRnqKEYuv1JxrguuonlsPElzt8nmowTmSDlHyTswbG/zyCc7XnbB80pFviiAY6YNnt2 CesUeJFWMJ3KTvg2GYz373Bpe/b3TV1xvPj8Haf6gY5SFQ+F3Ks5jZn5IhaeIY5RJPXD u431bZqoXXULXivcz8YRTHIINrj4cJsUG3ptDIlMIluusJQKKg3d+5Dzfj585Ok+qh5K SZpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iGYSZU8WjZ00LM3OXv5W5WnsIFx6exSKnl1y4vbyM2Q=; b=IP0TEZ/fvGw8rHTD6oGN8aRUpLCPphSJ1J5RoehawqSO5UUVIBHrZEEeGW2/msBWxS MeZqd7H4qoIfLnd1GzvJ8An1das6SeEz0jh8PGM6DLGeLAd8PRehe1u8ewNLmb3OuJi9 5cf8cn6djFEJSSSYy83hq9Fq3t2nCwYHvGJpwPP3XhrkrFHHjwbN/EnLfCndp3sYqdj7 dFxENuhBJWQSPcW7tEcyowT3P6LnzKEXVq/A7Qm99/5zm87qcqNmXBj31BDjSg7i9Wsc fdTOBwfpfqcpFf0IuqmvXhNUduhI+m3uua8i50+lpFAxQdGTtg071cVDfLxUU0+5JAxk ZsIw== X-Gm-Message-State: APf1xPDX3SKam605Sy/cS0UzBAoBiyFXoUW/e6i+PaDftFUZtY3QgruY Xs8IZW9pULL/eYiKtNepwXsdWBm9 X-Google-Smtp-Source: AH8x224ytOvQCwefPw3LA7t/2AKZPG0e7CCxBdFU8Ecq8tF5hZuwM3ukrXjvNKE0s1M5g+6ZB0F5XA== X-Received: by 10.99.117.74 with SMTP id f10mr6673433pgn.385.1518344674626; Sun, 11 Feb 2018 02:24:34 -0800 (PST) Received: from localhost.localdomain ([115.97.187.51]) by smtp.gmail.com with ESMTPSA id q87sm19475461pfk.71.2018.02.11.02.24.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 11 Feb 2018 02:24:34 -0800 (PST) From: Jagan Teki X-Google-Original-From: Jagan Teki To: Maxime Ripard Date: Sun, 11 Feb 2018 15:49:00 +0530 Message-Id: <1518344340-13672-12-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518344340-13672-1-git-send-email-jagan@amarulasolutions.com> References: <1518344340-13672-1-git-send-email-jagan@amarulasolutions.com> Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 11/11] sunxi: Add DRAM_SUN8I_A83T kconfig entry 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" Add proper and simple kconfig option for dram_sun8i_a83t.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 7 +++++++ arch/arm/mach-sunxi/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index dac086d..ef765fd 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -30,6 +30,12 @@ config DRAM_SUN8I_A33 Select this dram controller driver for Sun8i platforms, for A33 SOC. +config DRAM_SUN8I_A83T + bool "Sun8i A83T platform dram controller driver" + help + Select this dram controller driver for Sun8i platforms, + for A83T SOC. + config DRAM_SUN9I bool "Sun9i platform dram controller driver" help @@ -193,6 +199,7 @@ config MACH_SUN8I_A33 config MACH_SUN8I_A83T bool "sun8i (Allwinner A83T)" select CPU_V7 + select DRAM_SUN8I_A83T select SUNXI_GEN_SUN6I select MMC_SUNXI_HAS_NEW_MODE select SUPPORT_SPL diff --git a/arch/arm/mach-sunxi/Makefile b/arch/arm/mach-sunxi/Makefile index d65968d..0fcf341 100644 --- a/arch/arm/mach-sunxi/Makefile +++ b/arch/arm/mach-sunxi/Makefile @@ -37,8 +37,8 @@ obj-$(CONFIG_DRAM_SUN4I) += dram_sun4i.o obj-$(CONFIG_DRAM_SUN6I) += dram_sun6i.o obj-$(CONFIG_DRAM_SUN8I_A23) += dram_sun8i_a23.o obj-$(CONFIG_DRAM_SUN8I_A33) += dram_sun8i_a33.o +obj-$(CONFIG_DRAM_SUN8I_A83T) += dram_sun8i_a83t.o obj-$(CONFIG_DRAM_SUN9I) += dram_sun9i.o -obj-$(CONFIG_MACH_SUN8I_A83T) += dram_sun8i_a83t.o obj-$(CONFIG_SUNXI_DRAM_DW) += dram_sunxi_dw.o obj-$(CONFIG_SUNXI_DRAM_DW) += dram_timings/ endif