From: Michal Simek <michal.simek@amd.com>
To: Ashok Reddy Soma <ashok.reddy.soma@amd.com>, <u-boot@lists.denx.de>
Cc: <peng.fan@nxp.com>, <jh80.chung@samsung.com>,
Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
Subject: Re: [PATCH 1/4] xilinx: common: Add missing prototype for board_get_usable_ram_top
Date: Fri, 6 Jan 2023 13:44:47 +0100 [thread overview]
Message-ID: <c7acb4b4-b348-8716-95b8-4ed491feb060@amd.com> (raw)
In-Reply-To: <20230106120035.2183-2-ashok.reddy.soma@amd.com>
On 1/6/23 13:00, Ashok Reddy Soma wrote:
> From: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
>
> Add missing prototype to fix the sparse warning, warning: no previous
> prototype for 'board_get_usable_ram_top' [-Wmissing-prototypes].
>
> Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
> ---
>
> board/xilinx/common/board.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/board/xilinx/common/board.h b/board/xilinx/common/board.h
> index 69e642429b..ef7f3f3dce 100644
> --- a/board/xilinx/common/board.h
> +++ b/board/xilinx/common/board.h
> @@ -11,4 +11,8 @@ int board_late_init_xilinx(void);
>
> int xilinx_read_eeprom(void);
>
> +#if defined(CONFIG_LMB)
> +phys_size_t board_get_usable_ram_top(phys_size_t total_size);
it is already in include/init.h.
M
next prev parent reply other threads:[~2023-01-06 12:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-06 12:00 [PATCH 0/4] Fix sparse warnings Ashok Reddy Soma
2023-01-06 12:00 ` [PATCH 1/4] xilinx: common: Add missing prototype for board_get_usable_ram_top Ashok Reddy Soma
2023-01-06 12:44 ` Michal Simek [this message]
2023-01-06 12:00 ` [PATCH 2/4] gpio: zynqmp: Remove unused variable ret Ashok Reddy Soma
2023-01-06 12:42 ` Michal Simek
2023-01-06 12:00 ` [PATCH 3/4] xilinx: versal: Add missing prototype Ashok Reddy Soma
2023-01-06 12:38 ` Michal Simek
2023-01-06 12:00 ` [PATCH 4/4] drivers: mmc: Change datatype to fix a warning Ashok Reddy Soma
2023-01-06 12:41 ` Michal Simek
2023-01-06 12:45 ` [PATCH 0/4] Fix sparse warnings Michal Simek
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=c7acb4b4-b348-8716-95b8-4ed491feb060@amd.com \
--to=michal.simek@amd.com \
--cc=ashok.reddy.soma@amd.com \
--cc=jh80.chung@samsung.com \
--cc=peng.fan@nxp.com \
--cc=santoshsagar.algapally@amd.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