Skip to content

Commit e9e352e

Browse files
committed
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/chrome-platform
Pull chrome platform cleanups and improvements from Olof Johansson: - Use deferred probing on Chrome OS platforms for the i2c device registration. This fixes a long-standing race of initialization of touchpad/screen on Chromebooks. - Added in platform device registration for pstore console on supported hardware - Misc smaller fixes (__initdata, module exit cleanup, etc) * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/chrome-platform: platform/chrome: unregister platform driver/device when module exit platform/chrome: Make i2c_adapter_names static platform/chrome: chromeos_laptop - fix incorrect placement of __initdata tag platform/chrome: chromeos_laptop - Use deferred probing platform/chrome: chromeos_laptop - Restructure device associations platform/chrome: Add pstore platform_device
2 parents b3a4bca + 2b8454a commit e9e352e

4 files changed

Lines changed: 323 additions & 91 deletions

File tree

‎drivers/platform/chrome/Kconfig‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,18 @@ config CHROMEOS_LAPTOP
2525
If you have a supported Chromebook, choose Y or M here.
2626
The module will be called chromeos_laptop.
2727

28+
config CHROMEOS_PSTORE
29+
tristate "Chrome OS pstore support"
30+
---help---
31+
This module instantiates the persistent storage on x86 ChromeOS
32+
devices. It can be used to store away console logs and crash
33+
information across reboots.
34+
35+
The range of memory used is 0xf00000-0x1000000, traditionally
36+
the memory used to back VGA controller memory.
37+
38+
If you have a supported Chromebook, choose Y or M here.
39+
The module will be called chromeos_pstore.
40+
41+
2842
endif # CHROMEOS_PLATFORMS

‎drivers/platform/chrome/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11

22
obj-$(CONFIG_CHROMEOS_LAPTOP) += chromeos_laptop.o
3+
obj-$(CONFIG_CHROMEOS_PSTORE) += chromeos_pstore.o

0 commit comments

Comments
 (0)