[{"id":1769792,"web_url":"http://patchwork.ozlabs.org/comment/1769792/","msgid":"<CAPnjgZ0w9X776wrrPzEq-gtN9_+eH=tS6TOQWDKnGW8tGVmt6A@mail.gmail.com>","list_archive_url":null,"date":"2017-09-17T17:54:49","subject":"Re: [U-Boot] [PATCH v2 3/7] armv8: fsl-layerscape: Avoid running\n\tdram_init_banksize again","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 14 September 2017 at 13:01, York Sun <york.sun@nxp.com> wrote:\n> gd->ram_size is reduced in this function to reserve secure memory.\n> Avoid running this function again to further reduce memory size.\n> This fixes issue for SPL boot with PPA image loaded in which case\n> secure memory is incorrectly allocated due to repeated calling.\n>\n> Signed-off-by: York Sun <york.sun@nxp.com>\n>\n> ---\n>\n> Changes in v2:\n> New patch to fix gd->ram_size error after rebasing to latest mater.\n>\n>  arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 18 +++++++++++++++++-\n>  1 file changed, 17 insertions(+), 1 deletion(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"E+l1ASYf\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"hYVKwax0\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwMHQ2m4dz9s76\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 07:10:40 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid CDBF5C21D7C; Sun, 17 Sep 2017 21:10:38 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id CCB8AC21E0F;\n\tSun, 17 Sep 2017 17:57:09 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid A2EF9C21EE9; Sun, 17 Sep 2017 17:57:07 +0000 (UTC)","from mail-qt0-f182.google.com (mail-qt0-f182.google.com\n\t[209.85.216.182])\n\tby lists.denx.de (Postfix) with ESMTPS id DE4CEC21E0F\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 17:55:11 +0000 (UTC)","by mail-qt0-f182.google.com with SMTP id i13so5770371qtc.11\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 10:55:11 -0700 (PDT)","by 10.200.37.200 with HTTP; Sun, 17 Sep 2017 10:54:49 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=nYrCgNH/VCeCx6rddlTkhMcEI0GxIO/dr0JgTRHa3fE=;\n\tb=E+l1ASYfwY9Ode8vftD5lTxCDnO64jgD/D5tOVHypbKnd96aUThR8eGkChDqMM73N+\n\tyKQbjyUjuQT9fxXnbkNWRBF+xxVTfwNewvV3W7Ia8OsY1fb0fvkQ7NBMomoRhy3KTh/G\n\tsJPYGgRh7W8Fw4w3xT2a3FjbPu/mEPy0B+Z0LJjj/36XXUhp1nCiCs0oET7vnLeU5Qh2\n\tsmEZAzpgSE9XS4l3Cc5OxINKSArDLKloOCVPNHr0b46MuJF3hbpzX6cgR2LV5hBdMTvy\n\t196QkiUwIcCMaIjS+nQCv+p2Isqq6gGN89LWFEDtFLsYBHCChVJlGFMzmG2ZZpf/eF9H\n\tAiag==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=nYrCgNH/VCeCx6rddlTkhMcEI0GxIO/dr0JgTRHa3fE=;\n\tb=hYVKwax0AcuZu++CRCe4O9cOyWSKhTv/rzAG2X95dHUpgaEsTlxxk7MAUuw7FkADeY\n\tJ6XwKYIcEO/eT6lrMr4KuPxfdQamqCQ/y1Mga1TjwJkg2ckd7VldMzB7//LAXlDrqR84\n\tnaIHsnDoudEB+edFdD/9dOLSX+JA7RqfqZeqw="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=nYrCgNH/VCeCx6rddlTkhMcEI0GxIO/dr0JgTRHa3fE=;\n\tb=XJfQdg8fjYhiyHCTsBRL26k2qW/dsqd4pDtdJqQmYhXV+Qyor7S50BzHxQHur17dMh\n\t0f/NhbPf1lnwrQhDyKldJKGBG+Q6L6McQS01idw2zuKVozBPwLsOygfqoBUdgxzfSceP\n\tFA6kbHLxTH841d3OweOEqA0oef8Bd/3Bnfj6OZqc+yqLOC0wxuATnk0jAWz+Ei4zmddC\n\tLbMBxqtRGbTM5ejEJjeLYwT9ZyZw9zNF3fe1xV2boQX+wBl0M/h93oUbHhatePzeJ4h+\n\tkNt3QMbzRRjZiWMwXARZpUOIpbNzpVptASxajk6pJ+9mjReddxGoyVfwh7WbUFVNb/25\n\t645g==","X-Gm-Message-State":"AHPjjUjIvoevArdRyk4ifI//8oQYfg4ZUzfrS56VRkDRzgawqMxjvExs\n\t3dk9K6eBqUo0+y9Jheargoj5nx233+CFe9MQhh/f6A==","X-Google-Smtp-Source":"AOwi7QBOTEg/xE3zpTvrKOQxYFNR0bAJqXGIL8IshfpNuiOURbkjXozi/UrdLpr4AnLq9TkHdvfRhQ0S0+7HgJzf7Ws=","X-Received":"by 10.200.23.252 with SMTP id r57mr48062483qtk.76.1505670910573; \n\tSun, 17 Sep 2017 10:55:10 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1505415699-3401-4-git-send-email-york.sun@nxp.com>","References":"<1505415699-3401-1-git-send-email-york.sun@nxp.com>\n\t<1505415699-3401-4-git-send-email-york.sun@nxp.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Sun, 17 Sep 2017 11:54:49 -0600","X-Google-Sender-Auth":"WgKyp_e9T37yF2uFR0NrFCOvI9s","Message-ID":"<CAPnjgZ0w9X776wrrPzEq-gtN9_+eH=tS6TOQWDKnGW8tGVmt6A@mail.gmail.com>","To":"York Sun <york.sun@nxp.com>","Cc":"Albert Aribaud <albert.u.boot@aribaud.net>,\n\tYuantian Tang <andy.tang@nxp.com>,\n\tPriyanka Jain <priyanka.jain@nxp.com>, \n\tHou Zhiqiang <Zhiqiang.Hou@nxp.com>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH v2 3/7] armv8: fsl-layerscape: Avoid running\n\tdram_init_banksize again","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]