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=-13.0 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,URIBL_BLOCKED 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 06902C07E96 for ; Thu, 8 Jul 2021 16:16:11 +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 4B56C61874 for ; Thu, 8 Jul 2021 16:16:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B56C61874 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 4D17D831A6; Thu, 8 Jul 2021 18:16:08 +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="VQogTqjq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3C7E0831AD; Thu, 8 Jul 2021 18:16:07 +0200 (CEST) Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (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 7E50282ABD for ; Thu, 8 Jul 2021 18:16:04 +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=lftan.linux@gmail.com Received: by mail-oi1-x22f.google.com with SMTP id l21so8428329oig.3 for ; Thu, 08 Jul 2021 09:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Sq+R7q70d7/BtzMxfErciT0oRZ4h7Nso8Yq2+VXmHIA=; b=VQogTqjqA05ojp70sYau3GxcOYRzmAjXmQxtNf5x4gajcDJJoqMM4JjDfmdFOdSPIy 0oSc0RraY3gm21xOSczaLc2dqGQkmztkrSe0v0o5zFbanlcQJ+v4zzBlBr1dz+81H/Sr GFeqlr5hiuoVvC/ljItulBGSln18HBmtyc5/neTd+UYoMed9yzxUkwXEJtA+wK/Drnwt OaM92niYIUhqk4dlGx6NDTSVfzvERxBeT5qVIlXKjNFqvKJzGGayQo4B5dtOxpfF2Yx4 X+65XnPSoyDz6wc96Dl9kZkYa3rZCtqxWHFkhxGK2VU7d9u7ZALXKdCME+ns5ubBeUXz I4Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Sq+R7q70d7/BtzMxfErciT0oRZ4h7Nso8Yq2+VXmHIA=; b=dpUzd7bMeKdCUE1DEn7PTC6gJP/h/JZLuDLI5IqFl/KTzvzG1EEDX9DlEwSMoQPktI IeWbR4kdVb2h7gBhFwANZEh/uG11C9u2j7aaTN3fJ7Sakwb7W2WBXb2Aa8prMbqgH/Xh KryXU+VlTuUHsIJ2Heo1sICyeIZs8Iqaz7DWeYwBGUY00WmYqmzkUaIlcgA/Etx2Zsz/ POn6lF98r9ZQ0crpwj1nSezuuAdTC4N8nJoUJfUDdNfaEXpFUIsyEmye2TuHDmuLzkA4 FK7LSNhdcEwG+VCIiKxwF3sYBY13o1A2SXKWusxPOP4rrCLke/ZxAvZZDRd6V7c1Aeze or2g== X-Gm-Message-State: AOAM532EpY++vxfMYZiQ0W4shmiF+7qSjwYtVh3ZjCo8GA81Wq7wt3Sl UMabzNoHu8sOq+n6jhffp4uW+euFGC0c9nnlQgg= X-Google-Smtp-Source: ABdhPJxtjcoIn5sgq98vNEzwOB35ExBOuS6xhvuj6OaauVBXdRDmvlGDwBnkNIvrtYGjHCdcJh7t6aO+sPNada98dFo= X-Received: by 2002:aca:af07:: with SMTP id y7mr18070935oie.58.1625760963213; Thu, 08 Jul 2021 09:16:03 -0700 (PDT) MIME-Version: 1.0 References: <20210613084852.30868-1-elly.siew.chin.lim@intel.com> <20210613084852.30868-5-elly.siew.chin.lim@intel.com> In-Reply-To: <20210613084852.30868-5-elly.siew.chin.lim@intel.com> From: Ley Foon Tan Date: Fri, 9 Jul 2021 00:15:52 +0800 Message-ID: Subject: Re: [v3 04/17] arm: socfpga: Add handoff data support for Intel N5X device To: Siew Chin Lim Cc: ZY - u-boot , Marek Vasut , Simon Goldschmidt , Tien Fong Chee , Dalon Westergreen , Simon Glass , Yau Wai Gan Content-Type: text/plain; charset="UTF-8" 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 Sun, Jun 13, 2021 at 4:49 PM Siew Chin Lim wrote: > > From: Tien Fong Chee > > N5X support both HPS handoff data and DDR handoff data. > Existing HPS handoff functions are restructured to support both existing > devices and N5X device. > > Signed-off-by: Siew Chin Lim > Signed-off-by: Tien Fong Chee > > --- > v3 > - Adding helper function for getting endianness type. > > v2: > - Enabled auto detect the endianness from the magic word > - Merged and simplifying the big and little endian flow > --- > .../mach-socfpga/include/mach/handoff_soc64.h | 38 ++++- > arch/arm/mach-socfpga/system_manager_soc64.c | 18 +-- > arch/arm/mach-socfpga/wrap_handoff_soc64.c | 132 +++++++++++++----- Reviewed-by: Ley Foon Tan Regards Ley Foon