[U-Boot] [PATCH] ARM: tegra: enable GPU node by compatible value

Alexandre Courbot acourbot at nvidia.com
Wed Apr 13 04:12:17 CEST 2016


On 04/13/2016 02:17 AM, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> In current Linux kernel Tegra DT files, 64-bit addresses are represented
> in unit addresses as a pair of comma-separated 32-bit values. Apparently
> this is no longer the correct representation for simple busses, and the
> unit address should be represented as a single 64-bit value. If this is
> changed in the DTs, arm/arm/mach-tegra/board2.c:ft_system_setup() will no
> longer be able to find and enable the GPU node, since it looks up the node
> by name.
>
> Fix that function to enable nodes based on their compatible value rather
> than their node name. This will work no matter what the node name is, i.e
> for DTs both before and after any rename operation.

Generally speaking it is also much better to do it that way. Thanks!

Acked-by: Alexandre Courbot <acourbot at nvidia.com>

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------


More information about the U-Boot mailing list