From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 6 Oct 2019 17:15:24 +0800 Subject: [U-Boot] [PATCH 005/126] dm: core: Don't include ofnode functions with of-platdata In-Reply-To: References: <20190925145750.200592-1-sjg@chromium.org> <20190925145750.200592-6-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Oct 3, 2019 at 8:48 PM Bin Meng wrote: > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > These functions cannot work with of-platdata since libfdt is not > > available. At present when dev_read_...() functions are used it produces > > error messages about ofnode which is confusing. > > > > Adjust the Makefile and header to produce an error message for the actual > > dev_read...() function which is called. This makes it easier to see what > > code needs to be converted for use with of-platdata. > > > > Signed-off-by: Simon Glass > > --- > > > > drivers/core/Makefile | 4 +++- > > include/dm/read.h | 3 +-- > > 2 files changed, 4 insertions(+), 3 deletions(-) > > > > Reviewed-by: Bin Meng applied to u-boot-x86/next, thanks!