lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 17 Aug 2015 11:24:43 +0800
From:	Huang Shijie <shijie.huang@....com>
To:	catalin.marinas@....com
Cc:	will.deacon@....com, shijie8@...il.com, devicetree@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	Huang Shijie <shijie.huang@....com>
Subject: [PATCH] arm64: dts: Juno: fix the wrong memory map sizes for the I2C/EHCI/OHCI

>From the "Juno ARM Development Platform Soc Techinical Reference Mannual(r1p0)",
we get the following memory map sizes (3-25):
	I2C      : 0x7ffa0000  0x7ffa00ff       (256B)
	USB OHCI : 0x7ffb0000  0x7ffb0fff       (4KB)
	USB EHCI : 0x7ffc0000  0x7ffc0fff       (4KB)

This patch fixes the wrong memory map sizes for them.

Signed-off-by: Huang Shijie <shijie.huang@....com>
---
There is something wrong with my email account, so try to send it out again.
---
 arch/arm64/boot/dts/arm/juno-base.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index e3ee960..7b2715f 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -74,7 +74,7 @@
 
 	i2c@...a0000 {
 		compatible = "snps,designware-i2c";
-		reg = <0x0 0x7ffa0000 0x0 0x1000>;
+		reg = <0x0 0x7ffa0000 0x0 0x100>;
 		#address-cells = <1>;
 		#size-cells = <0>;
 		interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
@@ -95,14 +95,14 @@
 
 	ohci@...b0000 {
 		compatible = "generic-ohci";
-		reg = <0x0 0x7ffb0000 0x0 0x10000>;
+		reg = <0x0 0x7ffb0000 0x0 0x1000>;
 		interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&soc_usb48mhz>;
 	};
 
 	ehci@...c0000 {
 		compatible = "generic-ehci";
-		reg = <0x0 0x7ffc0000 0x0 0x10000>;
+		reg = <0x0 0x7ffc0000 0x0 0x1000>;
 		interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&soc_usb48mhz>;
 	};
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ