[RFC PATCH v2] cmd: mp: change the command name from cpu to mp

Pragnesh Patel pragnesh.patel at sifive.com
Thu Mar 19 18:30:09 CET 2020


Hi Simon,

>-----Original Message-----
>From: Simon Glass <sjg at chromium.org>
>Sent: 19 March 2020 21:48
>To: Pragnesh Patel <pragnesh.patel at sifive.com>
>Cc: U-Boot Mailing List <u-boot at lists.denx.de>; Atish Patra
><atish.patra at wdc.com>; Palmer Dabbelt <palmerdabbelt at google.com>; Bin
>Meng <bmeng.cn at gmail.com>; Paul Walmsley <paul.walmsley at sifive.com>;
>rick <rick at andestech.com>
>Subject: Re: [RFC PATCH v2] cmd: mp: change the command name from cpu to
>mp
>
>Hi Pragnesh,
>
>On Sat, 14 Mar 2020 at 08:50, Pragnesh Patel <pragnesh.patel at sifive.com>
>wrote:
>>
>> When CONFIG_CMD_CPU and CONFIG_MP both are enabled, U-Boot
>compilation
>> gives an error of "multiple definition of `_u_boot_list_2_cmd_2_cpu'"
>> so cpu command(cmd/cpu.c) and mp command(cmd/mp.c) should have
>> different command name.
>>
>> Signed-off-by: Pragnesh Patel <pragnesh.patel at sifive.com>
>> ---
>>  cmd/mp.c | 18 +++++++++---------
>>  1 file changed, 9 insertions(+), 9 deletions(-)
>
>Please can you instead port this code over to use the CPU uclass?

Sure, will port it.

>
>Regards,
>Simon


More information about the U-Boot mailing list