From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752133AbcFNLnP (ORCPT ); Tue, 14 Jun 2016 07:43:15 -0400 Received: from mga14.intel.com ([192.55.52.115]:41918 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751660AbcFNLnN (ORCPT ); Tue, 14 Jun 2016 07:43:13 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,470,1459839600"; d="scan'208";a="975310456" From: Mika Westerberg To: linux-mtd@lists.infradead.org Cc: Brian Norris , David Woodhouse , Lee Jones , Peter Tyser , key.seong.lim@intel.com, Mika Westerberg , linux-kernel@vger.kernel.org Subject: [PATCH 0/3] spi-nor: Add support for Intel SPI serial flash controller Date: Tue, 14 Jun 2016 14:43:06 +0300 Message-Id: <1465904589-141386-1-git-send-email-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.8.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series adds support for the Intel SPI serial flash controller found on many recent Intel CPUs including Baytrail and Braswell. This driver makes it possible to access the BIOS and other platform data which is stored on the SPI serial flash. It is also possible to upgrade the BIOS using this driver if it has not been protected by special hardware bits. The patch [1/3] includes documentation how to upgrade BIOS on MinnowBoard MAX. Since poking the SPI serial flash can brick the machine, this driver can only be enabled when CONFIG_EXPERT=y and even then it will remain read-only unless instructed othwerwise by module parameter. Mika Westerberg (3): spi-nor: Add support for Intel SPI serial flash controller mfd: lpc_ich: Add support for SPI serial flash host controller mfd: lpc_ich: Add support for Intel Apollo Lake SoC Documentation/mtd/intel-spi.txt | 87 ++++ drivers/mfd/lpc_ich.c | 134 ++++++ drivers/mtd/spi-nor/Kconfig | 20 + drivers/mtd/spi-nor/Makefile | 2 + drivers/mtd/spi-nor/intel-spi-platform.c | 57 +++ drivers/mtd/spi-nor/intel-spi.c | 748 +++++++++++++++++++++++++++++++ drivers/mtd/spi-nor/intel-spi.h | 24 + include/linux/mfd/lpc_ich.h | 3 + include/linux/platform_data/intel-spi.h | 31 ++ 9 files changed, 1106 insertions(+) create mode 100644 Documentation/mtd/intel-spi.txt create mode 100644 drivers/mtd/spi-nor/intel-spi-platform.c create mode 100644 drivers/mtd/spi-nor/intel-spi.c create mode 100644 drivers/mtd/spi-nor/intel-spi.h create mode 100644 include/linux/platform_data/intel-spi.h -- 2.8.1