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,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 C3F2FC11F64 for ; Thu, 1 Jul 2021 04:28:12 +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 EEA4961460 for ; Thu, 1 Jul 2021 04:28:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EEA4961460 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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 7CF9E83211; Thu, 1 Jul 2021 06:28:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="nF5gCZ1o"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EEB1C8321B; Thu, 1 Jul 2021 06:28:08 +0200 (CEST) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4C65083207 for ; Thu, 1 Jul 2021 06:28:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mibodhi@gmail.com Received: by mail-qk1-x72f.google.com with SMTP id j13so4811237qka.8 for ; Wed, 30 Jun 2021 21:28:06 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=dk8Y1P21qY2wgctheAvKSZKWqIa+cDfYgcc3Tg0gQiY=; b=nF5gCZ1o1lwqyPqsqsaesxJiUN6GVVmn0q/DFlBnNe/M/jWkgEe44wRLQ3c2gt7KAJ jrtDxiuep1nKxQF2jmx7ezwp1vTEiTcuea6GLCKjHULY2gbqMZ9cCEEr/+bQuTUnBISp CttGhU+UR5vuaTv1BatNTy4K2pwtuJnxSHQJIZOWfzIsiwSnFbGsgJAk1OlI3Pzq9ddc 51UxhwR77No7tyGOBc0SVh3aVxo47DNOD93FxBH8R4cEAPpwo+3AZXg4FiQ9WiyrstT3 l3qR6CE4qTsHwCqL2lGW3nDpgoIEX4KVrkWxbs1jTGiBXoa/oZxi5R4Crtinlxs6NU7d ekUg== 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:mime-version:content-transfer-encoding; bh=dk8Y1P21qY2wgctheAvKSZKWqIa+cDfYgcc3Tg0gQiY=; b=tEUkXOTjAZ7HCCRdTHoApKTOyTmkfB/x6yaTmE0vwS3tanhAqfMCo5BQbBZ7az1TiY Q3ZU6YTHCImtXILbaOFAWnzyZEYAqlLpWcpKoXcP5Iiti2qi2vI8mKwZhPbGk5Hyayzx gHvXEVFO5b3GZAekXE+hDuEdi0mPUnMnSxkDn3zTjS29t6mvBNOuD29y1jRkIXlBxfNd cfT5R9VUzKY6yL5koPuON+R9CU9uurwk4FLPN41040BzvT4dzviB1/UArhcy3NMzJjkI SL5l0ynSXZpuhD7kZ8s+GKggO5IyTijvNDk1oqBte3sx2Vt+vpuCBbXmdoVp31Bb4gAy S2KA== X-Gm-Message-State: AOAM533K/ixe4WiErUVC+LXze3wpSdptzSeAJ3Oq6t45BWw9tvnfT/H0 eV041zg5VJqs6S51r40BqwE= X-Google-Smtp-Source: ABdhPJx4OxmN3lofCSL/se4a1/p/9V7at5TB0pYDW6Jw4q4zE6LXdjC9Bac7yTnhcK1J1nX77q41Sw== X-Received: by 2002:a37:9606:: with SMTP id y6mr40093117qkd.13.1625113685265; Wed, 30 Jun 2021 21:28:05 -0700 (PDT) Received: from localhost.localdomain ([66.218.48.116]) by smtp.gmail.com with ESMTPSA id o123sm14540537qkd.6.2021.06.30.21.28.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 21:28:05 -0700 (PDT) From: Tony Dinh To: Stefan Roese , U-Boot Mailing List Cc: Tom Rini , Chris Packham , Tony Dinh Subject: [PATCH 4/4] NSA310S : Add DM SATA configs Date: Wed, 30 Jun 2021 21:26:25 -0700 Message-Id: <20210701042625.18815-5-mibodhi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210701042625.18815-1-mibodhi@gmail.com> References: <20210701042625.18815-1-mibodhi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 @@ -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 -- 2.20.1