t1040 IFC flash driver Extended Chip Select

Daniel Walker danielwa at cisco.com
Thu Jul 7 06:23:20 AEST 2016


Hi,

We are using the t1040 platform, and we have found that we need to 
populate this register. In the Technical Reference Manual it's 
description is section 24.3.2. This option appears in the driver, but it 
doesn't appears to be used anyplace.

We we're considered adding something to the device tree to allow 
populating this value, but I'm wondering if any of you have specific 
considerations on how this is done. Or maybe it's not needed at all, and 
we're just missing something.

(not a good patch, just an example.)

diff --git 
a/Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt 
b/Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt
index 89427b0..b506001 100644
--- a/Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt
+++ b/Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt
@@ -24,6 +24,8 @@ Properties:
  - ranges : Each range corresponds to a single chipselect, and covers
             the entire access window as configured.

+- cspr_ext : This value sets the extended chip select for all banks.
+
  Child device nodes describe the devices connected to IFC such as NOR (e.g.
  cfi-flash) and NAND (fsl,ifc-nand). There might be board specific devices
  like FPGAs, CPLDs, etc.


Daniel



More information about the Linuxppc-dev mailing list