ARM: at91: sama5/dts: reduce the NFC command register map
PATCH 1/1 ARM: at91: sama5/dts: reduce the NFC command register map
commit 111573ccd89b ("mtd: atmel_nand: check NFC busy flag by HSMC_SR instead of NFC cmd regs")
check NFC busy by nfc SR instead of NFC cmd regs. So we don't need to map NFC cmd registers to include NFCBUSY bit.
That means we only need map 0x08000000 instead of 0x10000000 for NFC cmd regs.
This patch reduce the NFC cmd regs map for sama5d3 & sama5d4.
---
This patch is based on linux-next git repo.
arch/arm/boot/dts/sama5d3.dtsi | 2 +- arch/arm/boot/dts/sama5d4.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sama5d3.dtsi +1 -1
@@ -1445,7 +1445,7 @@ #address-cells = <1>; #size-cells = <1>; reg = < - 0x70000000 0x10000000 /* NFC Command Registers */ + 0x70000000 0x08000000 /* NFC Command Registers */ 0xffffc000 0x00000070 /* NFC HSMC regs */ 0x00200000 0x00100000 /* NFC SRAM banks */ >;
arch/arm/boot/dts/sama5d4.dtsi +1 -1
@@ -294,7 +294,7 @@ #address-cells = <1>; #size-cells = <1>; reg = < - 0x90000000 0x10000000 /* NFC Command Registers */ + 0x90000000 0x08000000 /* NFC Command Registers */ 0xfc05c000 0x00000070 /* NFC HSMC regs */ 0x00100000 0x00100000 /* NFC SRAM banks */ >;
Signature · 1 line
1.9.1
PATCH 1/1 ARM: at91: sama5/dts: reduce the NFC command register map
Le 02/04/2015 08:17, Josh Wu a ?crit :
Quoted 2 lines
commit
111573ccd89b("mtd:atmel_nand: check NFC busy flag byHSMC_SRinstead of NFC cmd regs")
As this commit is not in Linus' tree yet, we can't point to its commit ID.
Quoted 8 lines
check NFC busy by nfc SR instead of NFC cmd regs. So we don't need to map NFC cmd registers to include NFCBUSY bit.
That means we only need map0x08000000instead of0x10000000for NFC cmd regs.This patch reduce the NFC cmd regs map for sama5d3 & sama5d4.
Signed-off-by Josh Wu <[email protected]>
Otherwise:
I'll modify the commit message to adapt the commit ID and send it when the patch is merged (probably after 4.0-rc1).
Thanks, best regards,
Quoted 34 lines
---
This patch is based on linux-next git repo.arch/arm/boot/dts/sama5d3.dtsi | 2 +- arch/arm/boot/dts/sama5d4.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)arch/arm/boot/dts/sama5d3.dtsi +1
-1@@ -1445,7 +1445,7 @@ #address-cells = <1>; #size-cells = <1>; reg = < - 0x70000000 0x10000000 /* NFC Command Registers */ + 0x70000000 0x08000000 /* NFC Command Registers */ 0xffffc000 0x00000070 /* NFC HSMC regs */ 0x00200000 0x00100000 /* NFC SRAM banks */ >;arch/arm/boot/dts/sama5d4.dtsi +1
-1@@ -294,7 +294,7 @@ #address-cells = <1>; #size-cells = <1>; reg = < - 0x90000000 0x10000000 /* NFC Command Registers */ + 0x90000000 0x08000000 /* NFC Command Registers */ 0xfc05c000 0x00000070 /* NFC HSMC regs */ 0x00100000 0x00100000 /* NFC SRAM banks */ >;
Signature · 1 line
Nicolas Ferre