linux/drivers/firmware/google
Stephen Boyd 09ed061a4f firmware: coreboot: Let OF core populate platform device
Now that the /firmware/coreboot node in DT is populated by the core DT
platform code with commit 3aa0582fdb ("of: platform: populate
/firmware/ node from of_platform_default_populate_init()") we should and
can remove the platform device creation here. Otherwise, the
of_platform_device_create() call will fail, the coreboot of driver won't
be registered, and this driver will never bind. At the same time, we
should move this driver to use MODULE_DEVICE_TABLE so that module
auto-load works properly when the coreboot device is auto-populated and
we should drop the of_node handling that was presumably placed here to
hold a reference to the DT node created during module init that no
longer happens.

Cc: Wei-Ning Huang <wnhuang@chromium.org>
Cc: Julius Werner <jwerner@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Cc: Samuel Holland <samuel@sholland.org>
Reviewed-by: Sudeep Holla <Sudeep.Holla@arm.com>
Fixes: 3aa0582fdb ("of: platform: populate /firmware/ node from of_platform_default_populate_init()")
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-14 15:37:23 +02:00
..
coreboot_table-acpi.c firmware: coreboot: Expose the coreboot table as a bus 2018-04-23 13:37:19 +02:00
coreboot_table-of.c firmware: coreboot: Let OF core populate platform device 2018-09-14 15:37:23 +02:00
coreboot_table.c firmware: coreboot: Remove unused coreboot_table_find 2018-04-23 13:37:19 +02:00
coreboot_table.h firmware: coreboot: Add coreboot framebuffer driver 2018-04-23 13:37:19 +02:00
framebuffer-coreboot.c firmware: coreboot: Add coreboot framebuffer driver 2018-04-23 13:37:19 +02:00
gsmi.c firmware: google: make structure gsmi_dev static 2018-09-14 15:25:57 +02:00
Kconfig firmware: coreboot: Add coreboot framebuffer driver 2018-04-23 13:37:19 +02:00
Makefile firmware: coreboot: Add coreboot framebuffer driver 2018-04-23 13:37:19 +02:00
memconsole-coreboot.c firmware: memconsole: Probe via coreboot bus 2018-04-23 13:37:19 +02:00
memconsole-x86-legacy.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
memconsole.c firmware: google: memconsole: Make memconsole interface more flexible 2017-05-18 16:59:06 +02:00
memconsole.h firmware: google: memconsole: Make memconsole interface more flexible 2017-05-18 16:59:06 +02:00
vpd_decode.c firmware: Google VPD: import lib_vpd source files 2017-04-18 18:04:45 +02:00
vpd_decode.h firmware: Google VPD: import lib_vpd source files 2017-04-18 18:04:45 +02:00
vpd.c firmware: vpd: Fix section enabled flag on vpd_section_destroy 2018-08-02 10:34:12 +02:00