From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2461C11F64 for ; Thu, 1 Jul 2021 08:20:54 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 117B061468 for ; Thu, 1 Jul 2021 08:20:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 117B061468 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3EEF583280; Thu, 1 Jul 2021 10:20:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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=1625127652; bh=PGXFmrUJdP3xcxaATbKNhTftCLFsIFDUGqqT+2w/GCo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=cvuDkC7Jb2LBtEiQZPuRm9xLSvNOXMFdnh0Et2cafCwPoD/S30KJV4uvtSvXBPVSq xBDmtq2XdeqtvCcyOfRetswLgtz2mGWDp49ibspei4KBR/k13/Vh4t3cmDK3ruLiqm aSbbNxm6SsdQn9Qm2bsclPZUE5p72DhENjE9wyprKb4kk+ZQTbZ7QS8Lg2ZhCTLznH P8W3k8Fh9yNDSSRiQ23RQ4EfrCtyY8I5zbxdIh37xOKIhIQxSA0zVWJSvJ9rIATzns YjwQEAk9DavM1uZ+LhhAQxxtInb0yOHDj/7GUGEfdCEW/XA5NQmvsvWlV1iSoDj8/e I7F2rh38259FQ== Received: by phobos.denx.de (Postfix, from userid 109) id AFE5683281; Thu, 1 Jul 2021 10:20:50 +0200 (CEST) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [91.198.250.253]) (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 0AFE683277 for ; Thu, 1 Jul 2021 10:20:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (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-204.mailbox.org (Postfix) with ESMTPS id 4GFrkl6RxDzQk9P; Thu, 1 Jul 2021 10:20:47 +0200 (CEST) Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id e8lHtjKMmCeY; Thu, 1 Jul 2021 10:20:45 +0200 (CEST) Subject: Re: [PATCH 4/4] NSA310S : Add DM SATA configs To: Tony Dinh , U-Boot Mailing List Cc: Tom Rini , Chris Packham References: <20210701042625.18815-1-mibodhi@gmail.com> <20210701042625.18815-5-mibodhi@gmail.com> From: Stefan Roese Message-ID: <4e398778-71b2-e48f-c6c2-56aabadbf7b2@denx.de> Date: Thu, 1 Jul 2021 10:20:44 +0200 MIME-Version: 1.0 In-Reply-To: <20210701042625.18815-5-mibodhi@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -3.01 / 15.00 / 15.00 X-Rspamd-Queue-Id: 154991836 X-Rspamd-UID: aac042 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean On 01.07.21 06:26, Tony Dinh wrote: > Enable DM SATA, removed IDE driver, and add SATA MV driver. > > Signed-off-by: Tony Dinh > --- > > include/configs/nsa310s.h | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h > index e38c65a485..94f293de90 100644 > --- a/include/configs/nsa310s.h > +++ b/include/configs/nsa310s.h > @@ -1,5 +1,6 @@ > /* SPDX-License-Identifier: GPL-2.0+ */ > /* > + * Copyright (C) 2021 Tony Dinh > * Copyright (C) 2015 > * Gerald Kerma > * Tony Dinh Please change this copyright line instead of adding yourself a 2nd time. Other than this: Reviewed-by: Stefan Roese Thanks, Stefan > @@ -46,10 +47,10 @@ > #endif /* CONFIG_CMD_NET */ > > /* SATA driver configuration */ > -#ifdef CONFIG_IDE > -#define __io > -#define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET > -#endif /* CONFIG_IDE */ > +#ifdef CONFIG_SATA > +#define CONFIG_SYS_SATA_MAX_DEVICE 1 > +#define CONFIG_LBA48 > +#endif /* CONFIG_SATA */ > > /* RTC driver configuration */ > #ifdef CONFIG_CMD_DATE > Viele Grüße, Stefan -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de