From patchwork Thu Sep 22 00:56:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 673112 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 3sfdNr04jqz9sBg for ; Thu, 22 Sep 2016 10:56:42 +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=dbVUNthk; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5BE22A762D; Thu, 22 Sep 2016 02:56:38 +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 XY04Jrjsv4Fh; Thu, 22 Sep 2016 02:56:38 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CA993A7616; Thu, 22 Sep 2016 02:56:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AF773A7616 for ; Thu, 22 Sep 2016 02:56:33 +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 ayg0_hK7LLkv for ; Thu, 22 Sep 2016 02:56:33 +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-pa0-f66.google.com (mail-pa0-f66.google.com [209.85.220.66]) by theia.denx.de (Postfix) with ESMTPS id 0D4C5A7615 for ; Thu, 22 Sep 2016 02:56:26 +0200 (CEST) Received: by mail-pa0-f66.google.com with SMTP id s3so1536597pay.1 for ; Wed, 21 Sep 2016 17:56:26 -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=CGT7dvG6xA+SG2iCc8NRuO8xIePXGnHmBJestYwlviM=; b=dbVUNthk6lDB2txxnwH5N8MrhZwZC1PyKTh+CzCtg6Qdq9aIbl3hBz8ucKXva+JQud lF8xCmxlXdQxrGSsGxTuh8SroaXEPLxuL0O9A045Ws3BbKIfmBNHbeLemsmg16FVLBPH q418Gc9nkgzRziPCGnNmNrwcXnF1bXNZrQG2yY8/zakCnh9yhiCeWeGQC4225SymSerm O1GF2qp8bmzMf6lCSUGoLyQf82cFsrBlhobvJ7ayYL50nGQu6B3yo1pUU6LHDaE6omWn zF48xmjqpFxvI3T7sdeA6dzC73FZXGWVCOf3lOguzgvhD4uQkqZjBWmLO4wUeqxsEjws 9KYA== 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=CGT7dvG6xA+SG2iCc8NRuO8xIePXGnHmBJestYwlviM=; b=RVchfsYRNejqmqm7u9ypWMFcZbjUBjFveKPg53kFyuVQVRGOXu22YOuhoZH0gpZy37 skMnheECuufDDFqGUU4dFG17fgmpyuBA2/780zootS/I7I53oDbOKxGYjpLnb2wHajXj x5Gv1GP/Rl0rkY6emtxpdzxnjo44Vaa+P6T5MnFCuseEgaUFc78eoIB5MtsNgmNp7g5I Kwj19xCFMac8XkyG5+SRdORDLGMJkwwQo4ybloNxQRwrBHISGjssgsBuViRM0Qf1JR0b 7T4/OsgOGObz8BswQGVCrkA1Rqedew83kOIMC2RJM79D4wpNt8qwZdb85H1wHpAxXieP SGMQ== X-Gm-Message-State: AE9vXwOdTUeyDpD/OsOcrHIBPTn2x97WtPe4b7tVOxANb3mB7PiXBNVLFAxLoLas0/ZxJw== X-Received: by 10.66.40.235 with SMTP id a11mr61552212pal.145.1474505784244; Wed, 21 Sep 2016 17:56:24 -0700 (PDT) Received: from chrisp-dl.ws.atlnz.lc (2-163-36-202-static.alliedtelesis.co.nz. [202.36.163.2]) by smtp.gmail.com with ESMTPSA id bx9sm49211871pab.17.2016.09.21.17.56.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Sep 2016 17:56:23 -0700 (PDT) From: Chris Packham To: u-boot@lists.denx.de Date: Thu, 22 Sep 2016 12:56:13 +1200 Message-Id: <20160922005615.24214-1-judge.packham@gmail.com> X-Mailer: git-send-email 2.9.2.518.ged577c6.dirty Cc: Luka Perkov , Stefan Roese , Chris Packham Subject: [U-Boot] [PATCH v2 1/3] arm: mvebu: create generic 88F6820 config option 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" 88F6820 is a specific Armada-38x chip that is used on the DB-88F6820-GP board. Rather than having DB_88F6820_GP and TARGET_DB_88F6820_GP which selects the former. Rename DB_88F6820_GP to 88F6820 so that other boards using the 88F6820 can be added. Signed-off-by: Chris Packham --- Changes in v2: None arch/arm/mach-mvebu/Kconfig | 4 ++-- arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index 220886aa592a..06820a5e4f2c 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig @@ -21,7 +21,7 @@ config MV78460 bool select ARMADA_XP -config DB_88F6820_GP +config 88F6820 bool select ARMADA_38X @@ -39,7 +39,7 @@ config TARGET_DB_88F6720 config TARGET_DB_88F6820_GP bool "Support DB-88F6820-GP" - select DB_88F6820_GP + select 88F6820 config TARGET_DB_MV784MP_GP bool "Support db-mv784mp-gp" diff --git a/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c b/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c index 49d704a36230..cc3e5e23c0dd 100644 --- a/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c +++ b/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c @@ -45,7 +45,7 @@ u32 g_dev_id = -1; u32 mv_board_id_get(void) { -#if defined(CONFIG_DB_88F6820_GP) +#if defined(CONFIG_TARGET_DB_88F6820_GP) return DB_GP_68XX_ID; #else /*