[U-Boot] [PATCH v3] x86: zImage: Pass working device tree data to the kernel

Bin Meng bmeng.cn at gmail.com
Tue Mar 27 01:58:42 UTC 2018


On Tue, Mar 27, 2018 at 9:06 AM, Ivan Gorinov <ivan.gorinov at intel.com> wrote:
> On x86 platforms, U-Boot does not pass Device Tree data to the kernel.
> This prevents the kernel from using FDT loaded by U-Boot.
>
> Read the working FDT address from the "fdtaddr" environment variable
> and add a copy of the FDT data to the kernel setup_data list.
>
> Signed-off-by: Ivan Gorinov <ivan.gorinov at intel.com>
> ---
>  arch/x86/include/asm/bootparam.h |  7 +++++--
>  arch/x86/lib/zimage.c            | 34 ++++++++++++++++++++++++++++++++++
>  2 files changed, 39 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list