>-----Original Message-----
>From: Sagar Kadam <sagar.ka...@sifive.com>
>Sent: 26 May 2020 22:39
>To: u-boot@lists.denx.de; r...@andestech.com; lu...@denx.de
>Cc: ja...@amarulasolutions.com; bmeng...@gmail.com; Pragnesh Patel
><pragnesh.pa...@sifive.com>; sean...@gmail.com; Sagar Kadam
><sagar.ka...@sifive.com>
>Subject: [PATCH v2 2/4] riscv: dts: hifive-unleashed-a00: add cpu aliases
>
>Add cpu aliases to U-Boot specific dtsi for hifive-unleashed.
>Without aliases we see that the CPU device sequence numbers are set
>randomly and the cpu list/detail command will show it as follows:
>=> cpu list
>  1: cpu@0      rv64imac
>  0: cpu@1      rv64imafdc
>  2: cpu@2      rv64imafdc
>  3: cpu@3      rv64imafdc
>  4: cpu@4      rv64imafdc
>
>Seems like CPU probing with dm-model also relies on aliases as observed in
>case spi. The fu540-c000-u-boot.dtsi has cpu0/1/2/3/4 nodes and so adding
>corresponding aliases we can ensure that cpu devices are assigned proper
>sequence as follows:
>
>=> cpu list
>  0: cpu@0      rv64imac
>  1: cpu@1      rv64imafdc
>  2: cpu@2      rv64imafdc
>  3: cpu@3      rv64imafdc
>  4: cpu@4      rv64imafdc
>
>Signed-off-by: Sagar Shrikant Kadam <sagar.ka...@sifive.com>
>---
> arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)

Reviewed-by: Pragnesh Patel <pragnesh.pa...@sifive.com>

Reply via email to