diff mbox

[v2] ARM: dts: am335x-bone-common: enable aes and sham

Message ID 1424890361-31848-1-git-send-email-mporter@konsulko.com (mailing list archive)
State New, archived
Headers show

Commit Message

Matt Porter Feb. 25, 2015, 6:52 p.m. UTC
Beaglebone Black doesn't have AES and SHAM enabled like the
original Beaglebone White dts. This breaks applications that
leverage the crypto blocks so fix this by enabling these nodes
in the am335x-bone-common.dtsi. With this change, enabling the
nodes in am335x-bone.dts is no longer required so remove them.

Signed-off-by: Matt Porter <mporter@konsulko.com>
---
 arch/arm/boot/dts/am335x-bone-common.dtsi | 8 ++++++++
 arch/arm/boot/dts/am335x-bone.dts         | 8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)

Comments

Robert Nelson Feb. 25, 2015, 7:09 p.m. UTC | #1
On Wed, Feb 25, 2015 at 12:52 PM, Matt Porter <mporter@konsulko.com> wrote:
> Beaglebone Black doesn't have AES and SHAM enabled like the
> original Beaglebone White dts. This breaks applications that
> leverage the crypto blocks so fix this by enabling these nodes
> in the am335x-bone-common.dtsi. With this change, enabling the
> nodes in am335x-bone.dts is no longer required so remove them.
>
> Signed-off-by: Matt Porter <mporter@konsulko.com>

Looks good! Wonder why didn't we do this sooner! ;)

Acked-by: Robert Nelson <robertcnelson@gmail.com>

Regards,
Tony Lindgren March 6, 2015, 4:56 p.m. UTC | #2
* Robert Nelson <robertcnelson@gmail.com> [150225 11:13]:
> On Wed, Feb 25, 2015 at 12:52 PM, Matt Porter <mporter@konsulko.com> wrote:
> > Beaglebone Black doesn't have AES and SHAM enabled like the
> > original Beaglebone White dts. This breaks applications that
> > leverage the crypto blocks so fix this by enabling these nodes
> > in the am335x-bone-common.dtsi. With this change, enabling the
> > nodes in am335x-bone.dts is no longer required so remove them.
> >
> > Signed-off-by: Matt Porter <mporter@konsulko.com>
> 
> Looks good! Wonder why didn't we do this sooner! ;)
> 
> Acked-by: Robert Nelson <robertcnelson@gmail.com>

Applying both into omap-for-v4.0/fixes thanks.

Tony
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 6cc25ed..12cdb2b 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -300,3 +300,11 @@ 
 	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
 	cd-inverted;
 };
+
+&aes {
+	status = "okay";
+};
+
+&sham {
+	status = "okay";
+};
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
index 83d40f7..6b849372 100644
--- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -24,11 +24,3 @@ 
 &mmc1 {
 	vmmc-supply = <&ldo3_reg>;
 };
-
-&sham {
-	status = "okay";
-};
-
-&aes {
-	status = "okay";
-};