[U-Boot] [PATCH] cpu: bmips: fix probe to get the address

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Fri Jun 29 15:32:09 UTC 2018



On 22.06.2018 18:52, Philippe Reynes wrote:
> In the device tree, the address for cpu is located in
> the node "cpus", not in the cpu node (for exemple cpu at 0).
> So when probing cpu, the cpu address must be read in the
> cpu parent.
> 
> The commit "cpu: bmips: convert to use live dt"
> (sha1: c444afbbefa103d567f197393d39ec0fcca21a0c)
> change this behaviour and read the address in the
> cpu node when probing cpu.
> 
> We fix this by reading the address in the cpu parent.
> 
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> ---
>  drivers/cpu/bmips_cpu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

applied to u-boot-mips, thanks.

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180629/6001c20a/attachment.sig>


More information about the U-Boot mailing list