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?
This commit is contained in:
François Revol 2013-09-17 15:49:49 +02:00
parent c55cff0acc
commit 09d213f3b3

View File

@ -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 */