From 09d213f3b37465cd0f5c034de2023e8ca46881b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 17 Sep 2013 15:49:49 +0200 Subject: [PATCH] PPC: OF: Make sure kernel args match the U-Boot one Since both platforms can boot the same kernel we must accept either arg, so we make sure they are identical for now. TODO: use a union or KMessage maybe? --- .../boot/platform/openfirmware/platform_kernel_args.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/headers/private/kernel/boot/platform/openfirmware/platform_kernel_args.h b/headers/private/kernel/boot/platform/openfirmware/platform_kernel_args.h index 94c8ab6c31..150afe25c3 100644 --- a/headers/private/kernel/boot/platform/openfirmware/platform_kernel_args.h +++ b/headers/private/kernel/boot/platform/openfirmware/platform_kernel_args.h @@ -19,6 +19,12 @@ typedef struct { void *openfirmware_entry; char rtc_path[128]; + + // XXX: HACK: must match the U-Boot platform args + // FIXME: use a union instead? + + // Flattened Device Tree blob + void *fdt; } platform_kernel_args; #endif /* KERNEL_BOOT_PLATFORM_OPENFIRMWARE_KERNEL_ARGS_H */