From patchwork Fri Jun 28 07:04:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 1123995 X-Patchwork-Delegate: philipp.tomsich@theobroma-systems.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rock-chips.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RwNu9rr4"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45Znpw70dSz9s8m for ; Fri, 28 Jun 2019 17:05:44 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 736DCC21DFD; Fri, 28 Jun 2019 07:05:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id F3DEAC21E1E; Fri, 28 Jun 2019 07:05:12 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6606FC21D8A; Fri, 28 Jun 2019 07:05:02 +0000 (UTC) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by lists.denx.de (Postfix) with ESMTPS id 9C74BC21DEC for ; Fri, 28 Jun 2019 07:04:58 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id j2so2489941pfe.6 for ; Fri, 28 Jun 2019 00:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=T1Hz5w5ri56d79cph/kA1FRQ9OhdJ7qBeZpz8QvpIiM=; b=RwNu9rr4RJEIynDdjQBFNjULvbRL6DtkPrNiFSw8CW8Bk9s9hpvsYCham9m+UkUHqM ybwHMOuVrES9d3RrXqs0BkyqWBt266KgW/EDLOxzMELytIpwksPI/Gk6WS+CJ1v9JGgs vl/KY2R7R+q5Rt6U5iTGCSJ+X8NEUUlQxxBzJAf6C61C1EaRmCh9+lWpDPpUe2oelgKd TKptT4O8XFHgEKlRYrLO2W8Mcc8LChwPxXW/ikciCw+ne8GwEbhUFG17G423URNn6xx0 vg5BtUGvSwEraQzeAR9PvTdVe0RsDMjeFQnirTzESVWfEAsE0TY8/bULq7EtE/v1kPKW oPvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=T1Hz5w5ri56d79cph/kA1FRQ9OhdJ7qBeZpz8QvpIiM=; b=ihw7c5KawVwhTY07o1YJaIDwiwtGM2GJURLtyI0rlzLpFUGsfkWOjWtBNjmolyN2UJ dsp+dvkMv8AZJJqojaUTTk1LSc16vaNcpbi8XlFqmcag2j/aVaxgOwZLOijXWkGu9H/O K8CouKbZrL4lDqRSz4h6QXXxVkRBFz3IpRCKABDjSxZKkpDmejrXOvKrbtmAkn/zGb+4 BkfZvnObeKm9FqjZzBKiLQtyn+9maFFGVtZKB9OKvgnLN20IVRRzdEivYeMVxnBumDcB Ctfkr+nLkABZj/uzf4MWFUIUuES820dJ4bMYWgmKQmh8mopr0BcIc/CQzqjiQ9svMwCt eIMw== X-Gm-Message-State: APjAAAUK21s7roAFndlKA3tUnr0qfIkpeS4vqo8GWtZbfxil+5U1pSEw NqLNRJD2kH9lhVWFAOvsFasf9N0m X-Google-Smtp-Source: APXvYqwiIM2Y/rKNvq2jYPXtkX3OpcA5iaMa8bhf2kGJTFIXNxkR/Xs8LyZjlULYFqALfBXqqKADhQ== X-Received: by 2002:a17:90a:1ae2:: with SMTP id p89mr10647892pjp.26.1561705497048; Fri, 28 Jun 2019 00:04:57 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id x5sm2828816pjp.21.2019.06.28.00.04.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Jun 2019 00:04:56 -0700 (PDT) From: Kever Yang To: u-boot@lists.denx.de Date: Fri, 28 Jun 2019 15:04:33 +0800 Message-Id: <20190628070439.546-3-kever.yang@rock-chips.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190628070439.546-1-kever.yang@rock-chips.com> References: <20190628070439.546-1-kever.yang@rock-chips.com> MIME-Version: 1.0 Cc: trini@konsulko.com Subject: [U-Boot] [PATCH v2 2/8] rockchip: rk3288: add separate TPL STACK address X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" TPL is at SRAM while other stage is at SDRAM, so it needs separate STACK. Signed-off-by: Kever Yang Reviewed-by: Jagan Teki --- Changes in v2: None arch/arm/mach-rockchip/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index ec7104bf9e..3712e8af8d 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -95,6 +95,7 @@ config ROCKCHIP_RK3288 select TPL_LIBCOMMON_SUPPORT select TPL_LIBGENERIC_SUPPORT select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL + select TPL_NEEDS_SEPARATE_STACK if TPL select TPL_OF_CONTROL select TPL_OF_PLATDATA select TPL_RAM @@ -118,6 +119,9 @@ config TPL_TEXT_BASE config TPL_MAX_SIZE default 32768 +config TPL_STACK + default 0xff718000 + endif config ROCKCHIP_RK3328