diff --git a/src/system/boot/platform/u-boot/arch/ppc/arch_mmu.cpp b/src/system/boot/platform/u-boot/arch/ppc/arch_mmu.cpp index b58cb7fd7d..10bdc1a53a 100644 --- a/src/system/boot/platform/u-boot/arch/ppc/arch_mmu.cpp +++ b/src/system/boot/platform/u-boot/arch/ppc/arch_mmu.cpp @@ -64,11 +64,11 @@ 0x01900000 boot.tgz (= ramdisk) 0x02000000 boot loader uimage - - boot loader heap (should be discarded later on) - ... 256M-Kstack page hash table + + boot loader heap (should be discarded later on) + ... 256M-Kstack page hash table ... 256M kernel stack - kernel stack guard page + kernel stack guard page The kernel is mapped at KERNEL_BASE, all other stuff mapped by the loader (kernel args, modules, driver settings, ...) comes after diff --git a/src/system/kernel/arch/ppc/arch_exceptions_44x.S b/src/system/kernel/arch/ppc/arch_exceptions_44x.S index c4a1a60afa..c533bcaaf5 100644 --- a/src/system/kernel/arch/ppc/arch_exceptions_44x.S +++ b/src/system/kernel/arch/ppc/arch_exceptions_44x.S @@ -287,7 +287,7 @@ __44x_save_regs: stwu %r0, -4(%r1) /* push r3 */ /* push r4-r31 */ - stwu %r4, -4(%r1) + stwu %r4, -4(%r1) stwu %r5, -4(%r1) stwu %r6, -4(%r1) stwu %r7, -4(%r1) @@ -393,7 +393,7 @@ __44x_restore_regs_and_rfi: lwzu %r5, 4(%r1) lwzu %r4, 4(%r1) lwzu %r3, 4(%r1) - + /* Stop here, before we overwrite r1, and continue with the floating point registers first. */ addi %r2, %r1, 16 /* skip r3-r0 */ diff --git a/src/system/kernel/platform/u-boot/fdt_support.cpp b/src/system/kernel/platform/u-boot/fdt_support.cpp index df4c79bde9..63e92dc3dd 100644 --- a/src/system/kernel/platform/u-boot/fdt_support.cpp +++ b/src/system/kernel/platform/u-boot/fdt_support.cpp @@ -69,7 +69,7 @@ void dump_fdt(const void *fdt) int err; dprintf("FDT @ %p:\n", fdt); - + if (!fdt) return;