[U-Boot] [PATCH] board: am57xx: Fix missing check for beagle_x15

Nishanth Menon nm at ti.com
Fri Sep 2 19:12:15 CEST 2016


On Fri, Sep 2, 2016 at 6:04 AM, Lokesh Vutla <lokeshvutla at ti.com> wrote:
>
>
> On Friday 02 September 2016 01:23 PM, Nishanth Menon wrote:
[...]
> Instead an entry can be added for x15 like below? So, that future rev of
> x15 can be updated
>
> diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
> index bc5ff6e..cf095ce 100644
> --- a/board/ti/am57xx/board.c
> +++ b/board/ti/am57xx/board.c
> @@ -308,7 +308,9 @@ static void setup_board_eeprom_env(void)
>         if (rc)
>                 goto invalid_eeprom;
>
> -       if (board_is_am572x_evm())
> +       if (board_is_x15())
> +               name = "beagle_x15";
> +       else if (board_is_am572x_evm())
>                 name = "am57xx_evm";
>         else if (board_is_am572x_idk())
>                 name = "am572x_idk";

Yeah, makes sense to prepare for what we know is incoming anyways...
-- 
---
Regards,
Nishanth Menon


More information about the U-Boot mailing list