From: Lokesh Vutla Date: Mon, 16 May 2016 11:47:27 +0530 Subject: [U-Boot] [PATCH v2 6/8] config: env: Set AM335x-ICEv2 board specific env In-Reply-To: <1463379449-4902-1-git-send-email-lokeshvutla@ti.com> References: <1463379449-4902-1-git-send-email-lokeshvutla@ti.com> Message-ID: <1463379449-4902-7-git-send-email-lokeshvutla@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Populate the right dtb file and console for AM335x-ICEv2 board. Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- Changes since v1: - None include/configs/am335x_evm.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 7c7f197..ba4c215 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -91,6 +91,7 @@ #define CONFIG_BOOTCOMMAND \ "run findfdt; " \ + "run init_console; " \ "run envboot; " \ "run distro_bootcmd" @@ -169,8 +170,16 @@ "setenv fdtfile am335x-evm.dtb; fi; " \ "if test $board_name = A335X_SK; then " \ "setenv fdtfile am335x-evmsk.dtb; fi; " \ + "if test $board_name = A335_ICE; then " \ + "setenv fdtfile am335x-icev2.dtb; fi; " \ "if test $fdtfile = undefined; then " \ "echo WARNING: Could not determine device tree to use; fi; \0" \ + "init_console=" \ + "if test $board_name = A335_ICE; then "\ + "setenv console ttyO3,115200n8;" \ + "else " \ + "setenv console ttyO0,115200n8;" \ + "fi;\0" \ NANDARGS \ NETARGS \ DFUARGS \ -- 2.8.2