diff mbox

[U-Boot] Re-enable setexpr on Raspberry Pi

Message ID CAEhB=Bu+ftJnjjp=pU5Ond83aGVHq3wUqmbS2NgMY_4HG1=gQw@mail.gmail.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Marco Schuster Nov. 29, 2015, 6:30 p.m. UTC
This patch re-enables the setexpr command, I don't really understand
why it got excluded in the first place.

setexpr can be used e.g. to implement failed-boot-counters and
failovers to rescue firmware.


Signed-off-by: Marco Schuster <m.schuster91@googlemail.com>
---
 configs/rpi_2_defconfig | 1 -
 configs/rpi_defconfig   | 1 -
 2 files changed, 2 deletions(-)

--
2.6.2

Comments

Tom Rini Jan. 14, 2016, 1:20 p.m. UTC | #1
On Sun, Nov 29, 2015 at 07:30:42PM +0100, Marco Schuster wrote:

> This patch re-enables the setexpr command, I don't really understand
> why it got excluded in the first place.
> 
> setexpr can be used e.g. to implement failed-boot-counters and
> failovers to rescue firmware.
> 
> 
> Signed-off-by: Marco Schuster <m.schuster91@googlemail.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/configs/rpi_2_defconfig b/configs/rpi_2_defconfig
index 5c9e69a..bd81ee6 100644
--- a/configs/rpi_2_defconfig
+++ b/configs/rpi_2_defconfig
@@ -6,5 +6,4 @@  CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
-# CONFIG_CMD_SETEXPR is not set
 CONFIG_PHYS_TO_BUS=y
diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig
index b8b267f..5d27909 100644
--- a/configs/rpi_defconfig
+++ b/configs/rpi_defconfig
@@ -6,5 +6,4 @@  CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
-# CONFIG_CMD_SETEXPR is not set
 CONFIG_PHYS_TO_BUS=y