Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0BD3DC0015E for ; Fri, 11 Aug 2023 08:02:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D5394868DB; Fri, 11 Aug 2023 10:02:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1691740929; bh=LpJnbCI3OmiH25o4SnUNl6q6eTnfxEqLTLVp/aCUwcw=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=zPtGQ4bjv04JRXUuY/gVeBEXJGC8Aepaphku2QR9S2ZLfwMtCyItmo4bMweyxmjSE Uz+0lFQ0FYQWfUM89/6zXVjnXmFpmXdUiV5OBPYAln027R5i4M0SUtf36b9q70VQ6F /kLDHlA0Cq3zvEFRWsFiNGbmeaPBCAn6Noe1YuKI1gbn6Hg0V8DPJRhCqWt2QKLV6s 2yhe8tCQsWKQHkWcv0uhXyKwTluqwPqo4nxuehJJ8VfTeVHMvhs/iZpuy+nL0IDvO0 M7Y0sSqXWb3DAFM9TdOWd2d7WjocQJKenywEPbXFtt1twtJOfXaPcfBWRqXBBwsrY7 HirVL+rhNuTyg== Received: by phobos.denx.de (Postfix, from userid 109) id 65CB8868DB; Fri, 11 Aug 2023 10:02:09 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [80.241.59.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A4A21868D6 for ; Fri, 11 Aug 2023 10:02:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4RMbqK4nk5z9sNv; Fri, 11 Aug 2023 10:02:05 +0200 (CEST) From: Stefan Roese To: u-boot@lists.denx.de Cc: Tom Rini Subject: [PATCH] kirkwood: dns325: Enable 2nd harddrive Date: Fri, 11 Aug 2023 10:02:04 +0200 Message-ID: <20230811080204.48659-1-sr@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The 2nd HD is not enabled in U-Boot on the D-Link DNS325. This patch sets the responsible GPIO to high, enabling the drive. Suggested-by: Peter Granilla Signed-off-by: Stefan Roese Cc: Tom Rini --- board/d-link/dns325/dns325.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/d-link/dns325/dns325.c b/board/d-link/dns325/dns325.c index 055783f63ada..8ebfe4c60189 100644 --- a/board/d-link/dns325/dns325.c +++ b/board/d-link/dns325/dns325.c @@ -89,6 +89,7 @@ int board_early_init_f(void) kw_gpio_set_blink(DNS325_GPIO_LED_POWER , 1); kw_gpio_set_value(DNS325_GPIO_SATA0_EN , 1); + kw_gpio_set_value(DNS325_GPIO_SATA1_EN , 1); return 0; } -- 2.41.0