libfdt: Make it compatible with newer dtc
PATCH 1/1 libfdt: Make it compatible with newer dtc
From: Alejandro Enedino Hernandez Samaniego <[email protected]>
DTC does not use an underscore for the LIBFDT_H and LIBFDT_ENV_H variables, this causes an error since u-boot does.
Remove the underscore from these variables to allow u-boot to compile along with dtc.
--- include/libfdt.h | 4 ++-- include/libfdt_env.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
include/libfdt.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _LIBFDT_H -#define _LIBFDT_H +#ifndef LIBFDT_H +#define LIBFDT_H /* * libfdt - Flat Device Tree manipulation * Copyright (C) 2006 David Gibson, IBM Corporation.
include/libfdt_env.h +2 -2
@@ -6,8 +6,8 @@* SPDX-License-Identifier: LGPL-2.1+ */ -#ifndef _LIBFDT_ENV_H -#define _LIBFDT_ENV_H +#ifndef LIBFDT_ENV_H +#define LIBFDT_ENV_H #include "compiler.h" #include "linux/types.h"
Signature · 1 line
2.26.2
Quoted 6 lines · Patrick Williams
From: Alejandro Enedino Hernandez Samaniego <[email protected]>
DTC does not use an underscore for the
LIBFDT_HandLIBFDT_ENV_Hvariables, this causes an error since u-boot does.
Quoted 6 lines
Remove the underscore from these variables to allow u-boot to compile along with dtc.
Signed-off-by Patrick Williams <[email protected]>---
Hi Joel,
This patch is a port from facebook/openbmc to fix some failures we're seeing building u-boot in some cases. I originally tried to submit it as a Yocto patch [1] and Andrew Jeffery suggested I send it to your branch instead.
1. https://gerrit.openbmc-project.xyz/c/openbmc/meta-aspeed/+/31833
Signature · 1 line
Patrick Williams
Hi Joel,
Any feedback on this?
Quoted 22 lines · Patrick Williams
Quoted 6 lines · Patrick Williams
From: Alejandro Enedino Hernandez Samaniego <[email protected]>
DTC does not use an underscore for the
LIBFDT_HandLIBFDT_ENV_Hvariables, this causes an error since u-boot does.Quoted 6 lines
Remove the underscore from these variables to allow u-boot to compile along with dtc.
Signed-off-by Patrick Williams <[email protected]>---
Hi Joel,
This patch is a port from facebook/openbmc to fix some failures we're seeing building u-boot in some cases. I originally tried to submit it as a Yocto patch [1] and Andrew Jeffery suggested I send it to your branch instead.
1. https://gerrit.openbmc-project.xyz/c/openbmc/meta-aspeed/+/31833
Signature · 1 line
Patrick Williams
Quoted 30 lines · Patrick Williams
Hi Joel,
Any feedback on this?
Quoted 25 lines · Patrick Williams
Quoted 6 lines · Patrick Williams
From: Alejandro Enedino Hernandez Samaniego <[email protected]>
DTC does not use an underscore for the
LIBFDT_HandLIBFDT_ENV_Hvariables, this causes an error since u-boot does.Quoted 7 lines
Remove the underscore from these variables to allow u-boot to compile along with dtc.
Signed-off-by: Alejandro Enedino Hernandez Samaniego < [email protected]>
Signed-off-by Patrick Williams <[email protected]>---
Hi Joel,
This patch is a port from facebook/openbmc to fix some failures we're
seeing building u-boot in some cases. I originally tried to submit it
as a Yocto patch [1] and Andrew Jeffery suggested I send it to your branch instead.1. https://gerrit.openbmc-project.xyz/c/openbmc/meta-aspeed/+/31833
Hi Joel
Is there some other way you'd like to see this fixed? I also ran into the problem addressed by this patch.
thx - brad