From: Ryan Grimm Date: Mon, 19 Jan 2015 17:52:49 +0000 (-0600) Subject: cxl: Add image control to sysfs X-Git-Tag: fixes-v4.0-rc1~132^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95bc11bcd1428afdb48400ec84dc6d5a83926138;p=pandora-kernel.git cxl: Add image control to sysfs load_image_on_perst identifies whether a PERST will cause the image to be flashed to the card. And if so, which image. Valid entries are: "none", "user" and "factory". A value of "none" means PERST will not cause the image to be flashed. A power cycle to the pcie slot is required to load the image. "user" loads the user provided image and "factory" loads the factory image upon PERST. sysfs updates the cxl struct in the driver then calls cxl_update_image_control to write the vals in the VSEC. Signed-off-by: Ryan Grimm Acked-by: Ian Munsie Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed