Patchwork [U-Boot,v2,6/6] am335x_evm: Add am335x_boneblack variant

login
register
mail settings
Submitter Justin Waters
Date July 11, 2013, 1:55 p.m.
Message ID <1373550903-474-7-git-send-email-justin.waters@timesys.com>
Download mbox | patch
Permalink /patch/258465/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Justin Waters - July 11, 2013, 1:55 p.m.
The BeagleBone Black differs from the other AM335x boards in a few
significant ways, so it makes sense to create a custom configuration
for it. In particular, it uses eMMC instead of NAND flash.

Signed-off-by: Justin Waters <justin.waters@timesys.com>
---
 boards.cfg |    1 +
 1 file changed, 1 insertion(+)
Tom Rini - July 26, 2013, 1:04 p.m.
On Thu, Jul 11, 2013 at 09:55:03AM -0400, Justin Waters wrote:
> The BeagleBone Black differs from the other AM335x boards in a few
> significant ways, so it makes sense to create a custom configuration
> for it. In particular, it uses eMMC instead of NAND flash.
> 
> Signed-off-by: Justin Waters <justin.waters@timesys.com>
> ---
>  boards.cfg |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/boards.cfg b/boards.cfg
> index c0cf446..461f69b 100644
> --- a/boards.cfg
> +++ b/boards.cfg
> @@ -249,6 +249,7 @@ am335x_evm_uart3             arm         armv7       am335x              ti
>  am335x_evm_uart4             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL5,CONS_INDEX=5,NAND
>  am335x_evm_uart5             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL6,CONS_INDEX=6,NAND
>  am335x_evm_usbspl            arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL1,CONS_INDEX=1,NAND,SPL_USBETH_SUPPORT
> +am335x_boneblack             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL1,CONS_INDEX=1,EMMC_BOOT
>  ti814x_evm                   arm         armv7       ti814x              ti             am33xx
>  pcm051                       arm         armv7       pcm051              phytec         am33xx      pcm051
>  sama5d3xek_mmc               arm         armv7       sama5d3xek          atmel          at91        sama5d3xek:SAMA5D3,SYS_USE_MMC

One minor nit, do we have room for SPL_USBETH_SUPPORT since you turned
off NAND?  I bet you do, and the default sysboot pins will try USB too.

Patch

diff --git a/boards.cfg b/boards.cfg
index c0cf446..461f69b 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -249,6 +249,7 @@  am335x_evm_uart3             arm         armv7       am335x              ti
 am335x_evm_uart4             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL5,CONS_INDEX=5,NAND
 am335x_evm_uart5             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL6,CONS_INDEX=6,NAND
 am335x_evm_usbspl            arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL1,CONS_INDEX=1,NAND,SPL_USBETH_SUPPORT
+am335x_boneblack             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL1,CONS_INDEX=1,EMMC_BOOT
 ti814x_evm                   arm         armv7       ti814x              ti             am33xx
 pcm051                       arm         armv7       pcm051              phytec         am33xx      pcm051
 sama5d3xek_mmc               arm         armv7       sama5d3xek          atmel          at91        sama5d3xek:SAMA5D3,SYS_USE_MMC