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 B87E9C07E95 for ; Sat, 3 Jul 2021 03:08:56 +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 32BB86108B for ; Sat, 3 Jul 2021 03:08:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 32BB86108B 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 AEBB4829F8; Sat, 3 Jul 2021 05:08:54 +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="KyY+WH0b"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2548E829F8; Sat, 3 Jul 2021 05:08:53 +0200 (CEST) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (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 D31F3829F8 for ; Sat, 3 Jul 2021 05:08:49 +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-qt1-x833.google.com with SMTP id w13so8189378qtc.0 for ; Fri, 02 Jul 2021 20:08:49 -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=S+cmj9aFkEvnxSTu5LW7oMVEuNu1g6m5+D4VVu+0jRw=; b=KyY+WH0bHvSRZ//Wm+VBvtLf0T6g7fdgnhv7/CvlJm2F0rDXwe8T/KSbZSpa5hwJjW E3oB5+l7y/Hu827/nrE1uZs5khv71fIUN8qaJZIZiGZ8lfomn6PZEWQxa4w3qdsV2o/M Q6yAeAk+Vygt0fVyjrLKofN0HHF9Ys47JekTEz4GNb4p8Huu2UzXr97BmXGw4LYD07kl ADLcUg5ewYM40bdIljc7GGK1J7BDSH5f4un6J7SbUhm/j+YJoxIBNNMe3wEaBVOnJJpB ZxQpl61LieB7En5nBXq/ZSGAJapGBmzZufnXrvY8mJ9N6UihKC64+PeHNkdMtowW8jKY W6YA== 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=S+cmj9aFkEvnxSTu5LW7oMVEuNu1g6m5+D4VVu+0jRw=; b=guenzvbPV46S5sNl1TR2vDRVv3M1xl5Nbc1a2ZoF+k4Ecdx0ucohdCrelx1J+KoDpS kHzBxfFjKIa2jt0ZsWZmyGwaIZ0MXPIUSbQVJyZUg236b7wY0tO0mijeeKcaSnh0pOv+ sqw9Q9IzON19q5iC59QyUukultbcjHnh6C3DYWPvcGonsgP9pkU+0YiXnCQqn0n0v5p0 3yNYJNqZ+Mj8/U+IMU4/l9kok9ftNpeyH81rUF3t7VsQLe4spMl4uBI3txmnqtk017ww mMqbmEmMDHsAQdiG4sH0yUDJGi725QIGZV5NQE8FMU8jZigQew14S9Y1lNr5jBVUpdie ol1g== X-Gm-Message-State: AOAM533w03MRt056Q3dtw/CNLLFftxtmJlOdcwh5VIOEr0shRl5exOr9 Of31fW5daxWYF8PeOHtbjEU= X-Google-Smtp-Source: ABdhPJxr/sfm+huudb1ghHSMakxBK2q4m1c9zZfL7if2rKf3G6fKwmocy2hm7/V/lGKmsQ+5rXc/yQ== X-Received: by 2002:ac8:60d:: with SMTP id d13mr2710596qth.223.1625281728761; Fri, 02 Jul 2021 20:08:48 -0700 (PDT) Received: from localhost.localdomain ([66.218.48.116]) by smtp.gmail.com with ESMTPSA id a10sm2286987qkl.78.2021.07.02.20.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jul 2021 20:08:48 -0700 (PDT) From: Tony Dinh To: Stefan Roese , U-Boot Mailing List Cc: Tom Rini , Chris Packham , Tony Dinh Subject: [PATCH v2 4/4] NSA310S : Add DM SATA configs Date: Fri, 2 Jul 2021 20:08:14 -0700 Message-Id: <20210703030814.20362-2-mibodhi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210703030814.20362-1-mibodhi@gmail.com> References: <20210703030814.20362-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 --- Changes in v2: - Correct copyright include/configs/nsa310s.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h index e38c65a485..23cf94ec99 100644 --- a/include/configs/nsa310s.h +++ b/include/configs/nsa310s.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* + * Copyright (C) 2015, 2021 Tony Dinh * Copyright (C) 2015 * Gerald Kerma - * Tony Dinh * Luka Perkov */ @@ -46,10 +46,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