Messages in this thread | | | Date | Mon, 25 Nov 2013 12:04:27 -0800 | From | Randy Dunlap <> | Subject | Re: [PATCH] platform/chrome: Add pstore platform_device |
| |
On 11/25/13 11:37, Olof Johansson wrote: > Add the ramoops pstore device so that we get logs of panics across reboots. > > Signed-off-by: Olof Johansson <olof@lixom.net> > --- > > drivers/platform/chrome/Kconfig | 14 +++++ > drivers/platform/chrome/Makefile | 1 + > drivers/platform/chrome/chromeos_pstore.c | 101 ++++++++++++++++++++++++++++++ > 3 files changed, 116 insertions(+) > create mode 100644 drivers/platform/chrome/chromeos_pstore.c > > diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kconfig > index b13303e75a34..06c53c8132ad 100644 > --- a/drivers/platform/chrome/Kconfig > +++ b/drivers/platform/chrome/Kconfig > @@ -25,4 +25,18 @@ config CHROMEOS_LAPTOP > If you have a supported Chromebook, choose Y or M here. > The module will be called chromeos_laptop. > > +config CHROMEOS_PSTORE > + tristate "Chrome OS pstore support" > + ---help--- > + This module instantiates the persistent storage on x86 ChromeOS > + devices. It can be used to store away console logs and crash > + information across reboots. > + > + The range of memory used is 0xf00000-0x1000000, tradionally the
traditionally
> + memory used to back VGA controller memory. > + > + If you have a supported Chromebook, choose Y or M here. > + The module will be called chromeos_pstore. > + > + > endif # CHROMEOS_PLATFORMS
-- ~Randy
| |