  	"mmcloados=run args_mmc; " \
  		"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
  			"if run loadfdt; then " \
-@@ -120,56 +137,44 @@
+@@ -120,56 +137,43 @@
  		"else " \
  			"bootz; " \
  		"fi;\0" \

-	"run mmcboot;" \
-	"run nandboot;"
+       "i2c mw 0x24 1 0x3e;" \
+       "run findfdt; " \
+       "setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack;" \
+       "run mmcboot;" \
+       "setenv mmcdev 1; " \

From 53cfabe44dba2c88929c39b1c265799d70edcf2f Mon Sep 17 00:00:00 2001
From: Marcin Pasinski <marcin.pasinski@cfengine.com>
Date: Fri, 26 Feb 2016 11:56:11 +0100
Subject: [PATCH] beaglebone mender specific configuration

---
 include/configs/am335x_evm.h | 132 +++++++++++++++++--------------------------
 1 file changed, 52 insertions(+), 80 deletions(-)

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 3cf768e..30297d9 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -46,6 +46,21 @@
