We currently provide default board names for each board in their
respective evm.c file. However for custom boards, this behaviour
overwrites the default DT as set in the defconfig
(CONFIG_DEFAULT_FDT_FILE or CONFIG_DEFAULT_DEVICE_TREE).
This patch changes the default name to be NULL which prevents this
overwrite and allows ti_set_fdt_env to instead fallback to the correct
DT as set in Kconfig.
Signed-off-by: Anshul Dalal <anshuld@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
static void setup_board_eeprom_env(void)
{
- char *name = "am64x_gpevm";
+ char *name = NULL;
if (do_board_detect())
goto invalid_eeprom;
};
static void setup_board_eeprom_env(void)
{
- char *name = "j721e";
+ char *name = NULL;
if (do_board_detect())
goto invalid_eeprom;
static void setup_board_eeprom_env(void)
{
- char *name = "j721s2";
+ char *name = NULL;
if (do_board_detect())
goto invalid_eeprom;