[U-Boot] [RFC PATCH] u-boot: remove driver lookup loop from env_save()

2018-07-11 Thread Nicholas Faustini
all into an infinite loop when the low-level drv->save() call fails. The env_save() function should not loop through the environment location list but it should use the previously discovered environment driver once. Signed-off-by: Nicholas Faustini --- env/env.c | 8 1 file chan

[U-Boot] [RFC PATCH v2] u-boot: remove driver lookup loop from env_save()

2018-07-12 Thread Nicholas Faustini
nction should not loop through the environment location list but it should save the environment into the location stored in gd->env_load_location by the last env_load() call. Signed-off-by: Nicholas Faustini --- Changes in v2: - Restore gd->env_load_location to the highest priority l

[U-Boot] [PATCH v3] u-boot: remove driver lookup loop from env_save()

2018-07-13 Thread Nicholas Faustini
nction should not loop through the environment location list but it should save the environment into the location stored in gd->env_load_location by the last env_load() call. Signed-off-by: Nicholas Faustini --- Changes in v3: - Add comment when env_load() fails and the env location is

[U-Boot] [PATCH v4] u-boot: remove driver lookup loop from env_save()

2018-07-13 Thread Nicholas Faustini
nction should not loop through the environment location list but it should save the environment into the location stored in gd->env_load_location by the last env_load() call. Signed-off-by: Nicholas Faustini Reviewed-by: Simon Goldschmidt --- Changes in v4: - Remove env_load_location from gd_t

[U-Boot] [PATCH v5] u-boot: remove driver lookup loop from env_save()

2018-07-23 Thread Nicholas Faustini
nction should not loop through the environment location list but it should save the environment into the location stored in gd->env_load_location by the last env_load() call. Signed-off-by: Nicholas Faustini Reviewed-by: Simon Goldschmidt --- Changes in v5: - Correction to 'Reviewed-by&#x

[U-Boot] [RFC PATCH v1 0/2] Fix to keystone2 uinitrd fixup logic

2018-09-11 Thread Nicholas Faustini
e the call of ft_board_setup_ex() since keystone2 devices will require it. Nicholas Faustini (2): fdt: add call to ft_board_setup_ex() for ks2 boards board: ks2: move uinitrd fixup logic inside ft_board_setup_ex board/ti/ks2_evm/board.c | 44 cmd/

[U-Boot] [RFC PATCH v1 1/2] fdt: add call to ft_board_setup_ex() for ks2 boards

2018-09-11 Thread Nicholas Faustini
When updating the board FDT, some of the operations are performed by ft_board_setup_ex() and should be executed also by the fdt command. Signed-off-by: Nicholas Faustini --- cmd/fdt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/fdt.c b/cmd/fdt.c index 28de467f96..8a19a3fdbf

[U-Boot] [RFC PATCH v1 2/2] board: ks2: move uinitrd fixup logic inside ft_board_setup_ex

2018-09-11 Thread Nicholas Faustini
The uinitrd fixup logic should be executed after the FDT /chosen node has been properly populated by fdt_initrd() Signed-off-by: Nicholas Faustini --- board/ti/ks2_evm/board.c | 44 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/board

[U-Boot] [RFC/RESEND PATCH v1 0/2] Fix to keystone2 uinitrd fixup logic

2018-09-27 Thread Nicholas Faustini
e the call of ft_board_setup_ex() since keystone2 devices will require it. Nicholas Faustini (2): fdt: add call to ft_board_setup_ex() for ks2 boards board: ks2: move uinitrd fixup logic inside ft_board_setup_ex board/ti/ks2_evm/board.c | 44 cmd/

[U-Boot] [RFC/RESEND PATCH v1 2/2] board: ks2: move uinitrd fixup logic inside ft_board_setup_ex

2018-09-27 Thread Nicholas Faustini
The uinitrd fixup logic should be executed after the FDT /chosen node has been properly populated by fdt_initrd() Signed-off-by: Nicholas Faustini --- board/ti/ks2_evm/board.c | 44 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/board

[U-Boot] [RFC/RESEND PATCH v1 1/2] fdt: add call to ft_board_setup_ex() for ks2 boards

2018-09-27 Thread Nicholas Faustini
When updating the board FDT, some of the operations are performed by ft_board_setup_ex() and should be executed also by the fdt command. Signed-off-by: Nicholas Faustini --- cmd/fdt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/fdt.c b/cmd/fdt.c index 28de467f96..8a19a3fdbf

[U-Boot] [PATCH v2 2/2] board: ks2: move uinitrd fixup logic inside ft_board_setup_ex

2018-10-03 Thread Nicholas Faustini
The uinitrd fixup logic should be executed after the FDT /chosen node has been properly populated by fdt_initrd() Signed-off-by: Nicholas Faustini Reviewed-by: Tom Rini --- Changes in v2: - Add reviewed-by tag, removed RFC/RESEND board/ti/ks2_evm/board.c | 44

[U-Boot] [PATCH v2 1/2] fdt: add call to ft_board_setup_ex() for ks2 boards

2018-10-03 Thread Nicholas Faustini
When updating the board FDT, some of the operations are performed by ft_board_setup_ex() and should be executed also by the fdt command. Signed-off-by: Nicholas Faustini Reviewed-by: Tom Rini --- Changes in v2: - Add reviewed-by tag cmd/fdt.c | 3 +++ 1 file changed, 3 insertions(+) diff

[U-Boot] [PATCH v2 0/2] Fix to keystone2 uinitrd fixup logic

2018-10-03 Thread Nicholas Faustini
e the call of ft_board_setup_ex() since keystone2 devices will require it. Changes in v2: - Add reviewed-by tag - Add reviewed-by tag, removed RFC/RESEND Nicholas Faustini (2): fdt: add call to ft_board_setup_ex() for ks2 boards board: ks2: move uinitrd fixup logic inside ft_board_setup_ex