All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] config: am335x_evm: detect BoneGreen using BBG1
@ 2016-05-01 16:58 Matwey V. Kornilov
  2016-05-02 23:32 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Matwey V. Kornilov @ 2016-05-01 16:58 UTC (permalink / raw)
  To: u-boot

Since 770e68c0a37fded897d4bdda661614fc81cb33d2
BoneGreen is detected in board_late_init as board_name 'BBG1'

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
---
 include/configs/am335x_evm.h | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index cd8923d..16935a1 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -162,12 +162,9 @@
 		"if test $board_name = A335BONE; then " \
 			"setenv fdtfile am335x-bone.dtb; fi; " \
 		"if test $board_name = A335BNLT; then " \
-			"if test $board_rev = BBG1; then " \
-				"setenv fdtfile am335x-bonegreen.dtb; " \
-			"else " \
-				"setenv fdtfile am335x-boneblack.dtb; " \
-			"fi; " \
-		"fi; " \
+			"setenv fdtfile am335x-boneblack.dtb; fi; " \
+		"if test $board_name = BBG1; then " \
+			"setenv fdtfile am335x-bonegreen.dtb; fi; " \
 		"if test $board_name = A33515BB; then " \
 			"setenv fdtfile am335x-evm.dtb; fi; " \
 		"if test $board_name = A335X_SK; then " \
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] config: am335x_evm: detect BoneGreen using BBG1
  2016-05-01 16:58 [U-Boot] [PATCH] config: am335x_evm: detect BoneGreen using BBG1 Matwey V. Kornilov
@ 2016-05-02 23:32 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2016-05-02 23:32 UTC (permalink / raw)
  To: u-boot

On Sun, May 01, 2016 at 07:58:31PM +0300, matwey.kornilov at gmail.com wrote:

> Since 770e68c0a37fded897d4bdda661614fc81cb33d2
> BoneGreen is detected in board_late_init as board_name 'BBG1'
> 
> Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160502/d0fbf031/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-02 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-01 16:58 [U-Boot] [PATCH] config: am335x_evm: detect BoneGreen using BBG1 Matwey V. Kornilov
2016-05-02 23:32 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.