Re: [PATCH 21/21] fbdev: fsl-diu: get cpu node with of_get_cpu_node

From: Timur Tabi
Date: Mon Sep 10 2018 - 23:34:17 EST


On 9/5/18 2:37 PM, Rob Herring wrote:
#ifdef CONFIG_NOT_COHERENT_CACHE
- np = of_find_node_by_type(NULL, "cpu");
+ np = of_get_cpu_node(0, NULL);

This #ifdef means that it's only compiled on an MPC5121, which is a very dead platform. of_get_cpu_node() looks okay to me, but I'm going to have to assume that you know what you're doing.

Acked-by: Timur Tabi <timur@xxxxxxxxxx>