platform/chrome: chromeos_laptop - discard data for unneeded boards
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 20 Mar 2018 22:31:37 +0000 (15:31 -0700)
committerBenson Leung <bleung@chromium.org>
Tue, 10 Apr 2018 05:52:17 +0000 (22:52 -0700)
commitc0bb0608ec79f8480432e169ccc3857dc7f7c205
tree2efd3c1d77ca31510449fcc97f8bdda0924559ea
parentf00c1d199e05f4f633a3ae34f16f707257d56fcf
platform/chrome: chromeos_laptop - discard data for unneeded boards

Mark board data as __intconst/__initdata and make a copy of appropriate
entry once we identified the board we are running on. The rest of the data
will be discarded once the kernel finished booting (or module finished
loading).

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/chromeos_laptop.c