All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe REYNES <philippe.reynes@softathome.com>
To: William Zhang <william.zhang@broadcom.com>,
	U-Boot Mailing List <u-boot@lists.denx.de>
Cc: rafal@milecki.pl, anand.gore@broadcom.com,
	joel.peshkin@broadcom.com, dan.beygelman@broadcom.com,
	f.fainelli@gmail.com, kursad.oney@broadcom.com,
	Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH v3 5/5] arm: bcmbca: make reset_cpu function weak
Date: Wed, 24 Aug 2022 14:44:59 +0200	[thread overview]
Message-ID: <9677bc38-706a-bdcd-9353-e17ea5b4a945@softathome.com> (raw)
In-Reply-To: <20220822110438.v3.5.Ib0ae1514454fc1b69dd1106857ef0c33d011865a@changeid>

Hi William


Le 22/08/2022 à 20:19, William Zhang a écrit :
> BCM63158 carries the CONFIG_SYSRESET from the original configuration. It
> provide reset_cpu function already so need to define weak version of the
> dummy reset_cpu for other BCMBCA SoCs to avoid linking error.
>
> Signed-off-by: William Zhang <william.zhang@broadcom.com>


Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>


>
> ---
>
> Changes in v3:
> -Fix reset_cpu function prototype.
>
>   board/broadcom/bcmbca/board.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/broadcom/bcmbca/board.c b/board/broadcom/bcmbca/board.c
> index 4aa1d659d5c7..bcecb4d78392 100644
> --- a/board/broadcom/bcmbca/board.c
> +++ b/board/broadcom/bcmbca/board.c
> @@ -30,6 +30,6 @@ int print_cpuinfo(void)
>   	return 0;
>   }
>   
> -void reset_cpu(ulong addr)
> +__weak void reset_cpu(void)
>   {
>   }

      reply	other threads:[~2022-08-24 12:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 18:19 [PATCH v3 0/5] arm: bcmbca: move bcm63158 support under CONFIG_ARCH_BCMBCA William Zhang
2022-08-22 18:19 ` [PATCH v3 1/5] arm: bcmbca: add bcm63158 SoC " William Zhang
2022-08-24 12:43   ` Philippe REYNES
2022-10-31 14:45   ` Tom Rini
2022-08-22 18:19 ` [PATCH v3 2/5] arm: bcmbca: remove bcm63158 support under CONFIG_ARCH_BCM63158 William Zhang
2022-08-24 12:44   ` Philippe REYNES
2022-08-22 18:19 ` [PATCH v3 3/5] arm: bcmbca: replace ARCH_BCM63158 symbols in Kconfig with BCM63158 William Zhang
2022-08-24 12:44   ` Philippe REYNES
2022-08-22 18:19 ` [PATCH v3 4/5] MAINTAINERS: Add BCM63158 maintainer to BCMBCA entry William Zhang
2022-08-24 12:44   ` Philippe REYNES
2022-08-22 18:19 ` [PATCH v3 5/5] arm: bcmbca: make reset_cpu function weak William Zhang
2022-08-24 12:44   ` Philippe REYNES [this message]

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=9677bc38-706a-bdcd-9353-e17ea5b4a945@softathome.com \
    --to=philippe.reynes@softathome.com \
    --cc=anand.gore@broadcom.com \
    --cc=dan.beygelman@broadcom.com \
    --cc=f.fainelli@gmail.com \
    --cc=joel.peshkin@broadcom.com \
    --cc=kursad.oney@broadcom.com \
    --cc=rafal@milecki.pl \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=william.zhang@broadcom.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.