Skip to contentSkip to conversation

Tegra: T30: Beaver board support.

PATCH Superseded Tom Warren 2 participants 3 messages Apr 15, 2013 Tegra architecture support

lore
Share & tools
lore

Tom Warren

author
#0 lore raw

PATCH v3 1/1 Tegra: T30: Beaver board support.

Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu. Add a Beaver build so it can begin to be differentiated, if need be.

---
v2: Add MAINTAINERS and beaver.h config file
v3:
- Edit boards.cfg so no separate 'boards/nvidia/beaver' dir is needed
- DT: Add spi-flash entry, reduce 2MB maxmem by 1MB (BootROM)
- Fix MMC env offset calc to allow for larger boot partitions

 MAINTAINERS                         |  1 +
 board/nvidia/dts/tegra30-beaver.dts | 71 ++++++++++++++++++++++++++++++++++
 boards.cfg                          |  1 +
 include/configs/beaver.h            | 76 +++++++++++++++++++++++++++++++++++++
 4 files changed, 149 insertions(+)
 create mode 100644 board/nvidia/dts/tegra30-beaver.dts
 create mode 100644 include/configs/beaver.h
MAINTAINERS +1 -0
index bbab5fe..643a5ac 100644
@@ -994,6 +994,7 @@ Stephen Warren <[email protected]>
 	paz00		Tegra20 (ARM7 & A9 Dual Core)
 	trimslice	Tegra20 (ARM7 & A9 Dual Core)
 	whistler	Tegra20 (ARM7 & A9 Dual Core)
+	beaver		Tegra30 (ARM7 & A9 Quad Core)
 
 Stephen Warren <[email protected]>
 
board/nvidia/dts/tegra30-beaver.dts new file +71 -0

71 lines not on this page · raw message

boards.cfg +1 -0
index f785da8..31483d6 100644
@@ -311,6 +311,7 @@ seaboard                     arm         armv7:arm720t seaboard          nvidia
 ventana                      arm         armv7:arm720t ventana           nvidia         tegra20
 whistler                     arm         armv7:arm720t whistler          nvidia         tegra20
 cardhu                       arm         armv7:arm720t cardhu            nvidia         tegra30
+beaver                       arm         armv7:arm720t cardhu            nvidia         tegra30
 dalmore                      arm         armv7:arm720t dalmore           nvidia         tegra114
 colibri_t20_iris             arm         armv7:arm720t colibri_t20_iris  toradex        tegra20
 u8500_href                   arm         armv7       u8500               st-ericsson    u8500
include/configs/beaver.h new file +76 -0

76 lines not on this page · raw message

Signature · 1 line
1.8.1.5
#1 lore raw

PATCH v3 1/1 Tegra: T30: Beaver board support.

board/nvidia/dts/tegra30-beaver.dts line 22

Quoted 9 lines · Tom Warren

Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu. Add a Beaver build so it can begin to be differentiated, if need be.

board/nvidia/dts/tegra30-beaver.dts +4 -0
 
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x7FF00000>;
+	};

Nit: I would tend to prefer lower-case for hex constants in DT files. Feel free to fix that when you apply this if want to fix it.

Aside from that,

author
#2 lore raw

PATCH v3 1/1 Tegra: T30: Beaver board support.

Quoted 7 lines · Stephen Warren

Review

Quoted 4 lines · Tom Warren

Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu. Add a Beaver build so it can begin to be differentiated, if need be.

(quoted diff) +0 -0

b/board/nvidia/dts/tegra30-beaver.dts

Quoted 8 lines

board/nvidia/dts/tegra30-beaver.dts line 22

Quoted 4 lines
board/nvidia/dts/tegra30-beaver.dts new file +4 -0
+     memory {
+             device_type = "memory";
+             reg = <0x80000000 0x7FF00000>;
+     };

Nit: I would tend to prefer lower-case for hex constants in DT files. Feel free to fix that when you apply this if want to fix it.

Done. Thanks.

Quoted 3 lines

Aside from that,