Driver Core: Early platform driver buffer
authorMagnus Damm <damm@opensource.se>
Fri, 27 Nov 2009 08:38:51 +0000 (17:38 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 19:24:55 +0000 (11:24 -0800)
commitc60e0504c8e4fa14179d0687d80ef25148dd6dd4
tree01e8ba58e367cb6bd2ae4ee334265e5bd2800769
parente16acb503b42ef241a9396de7c5a1614c74d8ca6
Driver Core: Early platform driver buffer

Add early_platform_init_buffer() support and update the
early platform driver code to allow passing parameters
to the driver on the kernel command line.

early_platform_init_buffer() simply allows early platform
drivers to provide a pointer and length to a memory area
where the remaining part of the kernel command line option
will be stored.

Needed to pass baud rate and other serial port options
to the reworked early serial console code on SuperH.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c
include/linux/platform_device.h