From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 21/22][v2] armv8/fsl-lsch3: Support 256M mem split for MC & dbg-srvr
Date: Mon, 1 Jun 2015 08:37:49 -0700 [thread overview]
Message-ID: <556C7C4D.20809@freescale.com> (raw)
In-Reply-To: <1432805055-1244-21-git-send-email-prabhakar@freescale.com>
On 05/28/2015 02:24 AM, Prabhakar Kushwaha wrote:
> From: Stuart Yoder <stuart.yoder@freescale.com>
>
> The agreed split of the top of memory is 256M for debug server and 256M
> for MC. This patch implements the split.
>
> In addition, the MC mem must be 512MB aligned, so the amount of memory
> to hide must be 512MB to achieve that alignment.
>
> Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
> ---
> Changes for v2: sending as it is for patch set
>
<snip>
> diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h
> index a33b8a9..214d790 100644
> --- a/include/configs/ls2085a_common.h
> +++ b/include/configs/ls2085a_common.h
> @@ -163,21 +163,27 @@ unsigned long long get_qixis_addr(void);
> #define CONFIG_SYS_NAND_BASE_PHYS 0x30000000
>
> /* Debug Server firmware */
> -#define CONFIG_SYS_DEBUG_SERVER_DRAM_BLOCK_MIN_SIZE (512UL * 1024 * 1024)
> /* 2 sec timeout */
> #define CONFIG_SYS_DEBUG_SERVER_TIMEOUT (2 * 1000 * 1000)
>
> /* MC firmware */
> #define CONFIG_FSL_MC_ENET
> -#define CONFIG_SYS_LS_MC_DRAM_BLOCK_MIN_SIZE (512UL * 1024 * 1024)
> /* TODO Actual DPL max length needs to be confirmed with the MC FW team */
> #define CONFIG_SYS_LS_MC_DPC_MAX_LENGTH 0x20000
> #define CONFIG_SYS_LS_MC_DRAM_DPC_OFFSET 0x00F00000
> #define CONFIG_SYS_LS_MC_DPL_MAX_LENGTH 0x20000
> #define CONFIG_SYS_LS_MC_DRAM_DPL_OFFSET 0x00F20000
>
> -/* Carve out a DDR region which will not be used by u-boot/Linux */
> +/*
> + * Carve out a DDR region which will not be used by u-boot/Linux
> + *
> + * It will be used by MC and Debug Server. The MC region must be
> + * 512MB aligned, so the min size to hide is 512MB.
> + */
> #if defined(CONFIG_FSL_MC_ENET) || defined(CONFIG_FSL_DEBUG_SERVER)
> +#define CONFIG_SYS_DEBUG_SERVER_DRAM_BLOCK_MIN_SIZE (256UL * 1024 * 1024)
> +#define CONFIG_SYS_LS_MC_DRAM_BLOCK_MIN_SIZE (256UL * 1024 * 1024)
> +#define CONFIG_SYS_MEM_TOP_HIDE_MIN (512UL * 1024 * 1024)
> #define CONFIG_SYS_MEM_TOP_HIDE get_dram_size_to_hide()
The new macro should be documented.
York
next prev parent reply other threads:[~2015-06-01 15:37 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 9:23 [U-Boot] [PATCH 01/22][v2] armv8/ls2085ardb: Add eth & phy f/w loading support Prabhakar Kushwaha
2015-05-28 9:23 ` [U-Boot] [PATCH 02/22][v2] armv8/ls2085ardb: add hwconfig setting for eSDHC Prabhakar Kushwaha
2015-05-28 9:23 ` [U-Boot] [PATCH 03/22][v2] armv8/ls2085a: Enable Date command for QDS and RDB Prabhakar Kushwaha
2015-05-28 9:23 ` [U-Boot] [PATCH 04/22][v2] armv8/ls2085aqds: Add support of SerDes protocol 0x49 Prabhakar Kushwaha
2015-05-28 9:23 ` [U-Boot] [PATCH 05/22][v2] armv8/ls2085a: Update LS2085a PCIe compatible Prabhakar Kushwaha
2015-05-28 9:23 ` [U-Boot] [PATCH 06/22][v2] armv8/ls2085a: call ft_pcie_setup() to change dts status Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 07/22][v2] armv8/ls2085qds: Update SFP TX bit as "0" to enable XFI Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 08/22][v2] armv8/ls2085rdb: Update PCA9547PW slave address Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 09/22][v2] armv8/ls2085a: Increase the supported kernel size Prabhakar Kushwaha
2015-05-28 16:00 ` York Sun
2015-05-28 18:58 ` Sharma Bhupesh
2015-05-28 19:02 ` York Sun
2015-05-28 9:24 ` [U-Boot] [PATCH 10/22][v2] board/fsl/common: Fix eeprom system version endianness Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 11/22][v2] armv8/ls2085RDB: Update board version print logic Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 12/22][v2] armv8/fsl-lsch3: Fix DDR speed message Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 13/22][v2] armv8/fsl-ch3: Add support to print SoC personality Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 14/22][v2] armv8/ls2085a: Avoid hard-coding for board name print Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 15/22][v2] driver/ddr/fsl: Add a hook to update SPD address Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 16/22][v2] armv8/ls2085ardb: Fix SPD address error on early boards Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 17/22][v2] armv8/ls2085a: Expose all DDR region(s) to Linux Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 18/22][v2] armv8/ls2085a: Update SoC README for DDR layout Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 19/22][v2] driver/fsl_debug_server: Fix the DDR hide logic for LS2085a Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 20/22][v2] arm/errata: Update required bits for A57 cores erratas Prabhakar Kushwaha
2015-05-28 9:24 ` [U-Boot] [PATCH 21/22][v2] armv8/fsl-lsch3: Support 256M mem split for MC & dbg-srvr Prabhakar Kushwaha
2015-06-01 15:37 ` York Sun [this message]
2015-05-28 9:24 ` [U-Boot] [PATCH 22/22][v2] armv8/ls2085a: enable debug server Prabhakar Kushwaha
2015-06-03 15:14 ` [U-Boot] [PATCH 01/22][v2] armv8/ls2085ardb: Add eth & phy f/w loading support York Sun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=556C7C4D.20809@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox