[PATCH linux 0/3] [PATCH v3 0/3] Aspeed spi nor 3

OpenBMC Patches openbmc-patches at stwcx.xyz
Fri Jan 22 14:50:18 AEDT 2016


Changes from aspeed-flash branch
Factor dts updates into a dtsi for the flash partitions

Changes from aspeed-spi-nor proposed commit:


Assign label property value to mtd->name before spi_nor_scan, update binding.
turn off DEBUG
removed conditional controller mutex locking (was plannd to eliminate redundant
	chip level locking on one chip controllers but decided not worthwhile)adjust first comment block
use bool and uchar8 vs 1, 3, and 5 bit fields in aspeed_smc_info
make info struct fields explict vs E macro with position data
just make structs, not a table we follow the info pointer
move structs to just before match table
check match data exists
removed unsed smc_controller_type for instance types, dt binding will choose.
add flash type enum instance to struct chip for later teardown of mixed types
todo set controller type to match device tree value


https://github.com/openbmc/linux/pull/43

Milton D. Miller II (3):
  mtd/spi-nor: Add SPI memory controllers for ASPEED AST2400
  aspeed: update bmc dts with attached flash
  aspeed: update defconfig

 .../devicetree/bindings/mtd/aspeed-smc.txt         |  69 +++
 arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts     |  35 ++
 arch/arm/boot/dts/aspeed-bmc-opp-flash-layout.dtsi |  28 ++
 arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts      |  35 ++
 arch/arm/configs/aspeed_defconfig                  |   7 +
 drivers/mtd/spi-nor/Kconfig                        |   9 +
 drivers/mtd/spi-nor/Makefile                       |   1 +
 drivers/mtd/spi-nor/aspeed-smc.c                   | 547 +++++++++++++++++++++
 8 files changed, 731 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/aspeed-smc.txt
 create mode 100644 arch/arm/boot/dts/aspeed-bmc-opp-flash-layout.dtsi
 create mode 100644 drivers/mtd/spi-nor/aspeed-smc.c

-- 
2.6.4




More information about the openbmc mailing list