From 79290de84544370ef292ad9a69393b5a98fdfded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 22 Sep 2012 19:23:31 +0200 Subject: [PATCH] U-Boot: HACK: Fix linking the kernel * For now let's include the same fields in platform_kernel_args than in the OF version. * This allows linking the kernel. Later on we should allow supporting more than a single boot platform, to have a single kernel per arch. --- .../kernel/boot/platform/u-boot/platform_kernel_args.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/headers/private/kernel/boot/platform/u-boot/platform_kernel_args.h b/headers/private/kernel/boot/platform/u-boot/platform_kernel_args.h index 6e898ba11e..ae65dbc361 100644 --- a/headers/private/kernel/boot/platform/u-boot/platform_kernel_args.h +++ b/headers/private/kernel/boot/platform/u-boot/platform_kernel_args.h @@ -17,6 +17,12 @@ typedef struct { + // XXX: HACK: must match the OF platform args + // FIXME: use a union instead? + void *openfirmware_entry; + char rtc_path[128]; + + // TODO: add FDT char dummy; } platform_kernel_args;