]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/mpc85xx: Ignore FDT pointer for non-QEMU in cpu_init_early_f()
authorYork Sun <yorksun@freescale.com>
Wed, 30 Apr 2014 21:43:45 +0000 (14:43 -0700)
committerYork Sun <yorksun@freescale.com>
Tue, 13 May 2014 15:31:22 +0000 (08:31 -0700)
commit73a56b6e9f3f1cc2412b5b8a75a3c71f48586c94
treea6ac1ba5e887547b4f883fec0f4ec9830a20da1a
parent18025756b5e79ae96f67e1b5ac87d5ff6467d1cc
powerpc/mpc85xx: Ignore FDT pointer for non-QEMU in cpu_init_early_f()

The pointer of device tree comes from r3 for QEMU. This is not the case
for normal SoCs out of reset. Having gd->fdt_blob as 0 is important for
other functions to detect the non-existence of device tree.

Signed-off-by: York Sun <yorksun@freescale.com>
CC: Alexander Graf <agraf@suse.de>
arch/powerpc/cpu/mpc85xx/cpu_init_early.c