Similar to the env callback command, this will show details about the
options available, the static list, and the currently active variables.
Signed-off-by: Joe Hershberger
---
Changes in v5: None
Changes in v4:
- Add help text for env flags command
Changes in v3: None
Changes in v2: None
READ
Use the variable access flags to implement the protection for ethaddr
and serial# instead of hard-coding them.
Signed-off-by: Joe Hershberger
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
common/env_flags.c | 19 ---
include/env_flags.h | 2
Remove the hard-coded bootfile handler and use a callback instead
Signed-off-by: Joe Hershberger
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
common/cmd_nvedit.c| 9 -
include/env_callback.h | 1 +
net/net.c | 17
When printing all variables with env print, don't print variables that
begin with '.'. If env print is called with a '-a' switch, then
include variables that begin with '.' (just like the ls command).
Variables printed explicitly will be printed even without the -a.
Signed-off-by: Joe Hershberge
Remove the hard-coded console handler and use a callback instead
Signed-off-by: Joe Hershberger
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
common/cmd_nvedit.c| 36 +++-
common/console.c | 44 +
The callbacks can be bound, but are otherwise invisible. Add a command
to show what callbacks are available.
Signed-off-by: Joe Hershberger
!!! fix callback command
---
Changes in v5:
- Fixed callbacks command help
- Compare current callback against pre-relocation address manually
Changes in v
When a variable with a registered callback is inserted, deleted, or
overwritten the callback is called and gives the system an opportunity
to do something in response to the change. It also has the opportunuty
to reject the change by returning non-zero.
The flags on variables can control their t
Move the getenv_yesno() to env_common.c and change most checks for
'y' or 'n' to use this helper.
Signed-off-by: Joe Hershberger
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/lib/board.c| 4 +---
arch/m68k/lib/board.c | 3 +-
Implement a way to delete more than one variable at a time.
Signed-off-by: Joe Hershberger
---
Changes in v5: None
Changes in v4:
- Implement delete
Changes in v3: None
Changes in v2: None
common/cmd_nvedit.c | 35 ---
1 file changed, 32 insertions(+), 3 deletio
Now that we have support for permissions, add a way to override them.
Signed-off-by: Joe Hershberger
---
Changes in v5: None
Changes in v4:
- Add force support to setenv
Changes in v3: None
Changes in v2: None
common/cmd_nvedit.c | 29 +++--
1 file changed, 23 insertion
Remove the hard-coded loadaddr handler and use a callback instead
Signed-off-by: Joe Hershberger
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
common/cmd_nvedit.c| 12
common/image.c | 21 +
include/env_callback.
Use a flag in hsearch_r for insert mode passed from import to allow the
behavior be different based on use.
Now that "do_check" is called for all imports, ensure console init is
complete before updating the console on relocation import
Signed-off-by: Joe Hershberger
---
Changes in v5: None
Chang
Add support for per-variable callbacks to the "hashtable" functions.
Signed-off-by: Joe Hershberger
!!!fix comment in callback
---
Changes in v5:
- Add support for CONFIG_NEEDS_MANUAL_RELOC boards
- Fixed comment typo
Changes in v4: None
Changes in v3:
- Use Marek's linker lists instead of impl
isspace() and strim() are not in the typical user-mode string.h, so
put them in a separate compilation unit so that they can be built into
tools that need them independent of the other common string functions.
This allows code shared by u-boot and the linux user-mode tools to link.
Signed-off-by:
Add support for read-only, write-once, and change-default.
Signed-off-by: Joe Hershberger
---
Changes in v5:
- Fixed out-of-bounds array access in env_flags_parse_varaccess()
Changes in v4: None
Changes in v3: None
Changes in v2: None
README| 13 -
common/cmd_nvedit.c |
Currently just validates variable types as decimal, hexidecimal,
boolean, ip address, and mac address. Call
env_acl_validate_setenv_params() from setenv() in fw_env.c.
If the entry is not found in the env .flags, then look in the static
one. This allows the env to override the static definitions,
Move the read of the old value to inside the check function. In some
cases it can be avoided all together and at the least the code is only
called from one place.
Also name the function and the callback to more clearly describe what
it does.
Pass the ENTRY instead of just the name for direct acc
The same chunk of code was replicated in two places and the following
changes will make that chunk grow a bit, so combine into a static func.
Signed-off-by: Joe Hershberger
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
lib/hashtable.c | 71 +
Currently just validates variable types as decimal, hexidecimal,
boolean, ip address, and mac address.
If the entry is not found in the env ".flags", then look in the static
one. This allows the env to override the static definitions, but prevents
the need to have every definition in the environme
Hi Jagan,
On Mon, Dec 10, 2012 at 10:37 PM, Jagan Teki wrote:
> Hi Simon,
>
> I understand your concern.
>
> But currently there is no prints a/f reading/writing/erasing the SPI flash.
> User's are unable to confirm whether that particular sf commands are
> properly done/not.
Well if there is no
Hi,
On Mon, Dec 10, 2012 at 6:41 AM, Jagannadha Sutradharudu Teki
wrote:
> This patch adds a print message on spi_flash_cmd_read_fast()
> to make sure that how many bytes read from flash device.
>
> Signed-off-by: Jagannadha Sutradharudu Teki
I have the same verbosity comment on this patch, BTW
Hi,
On Mon, Dec 10, 2012 at 6:42 AM, Jagannadha Sutradharudu Teki
wrote:
> This patch provides support to program a flash using
> Quad-input Page Program(32h) instruction.
>
> This will effectively increases the data transfer rate
> by up to four times, as compared to the Page Program(PP) instruc
Hi,
On Mon, Dec 10, 2012 at 6:42 AM, Jagannadha Sutradharudu Teki
wrote:
> This patch provides support to program a flash config register.
>
> Configuration register contains the control bits used to configure
> the different configurations and security features of a device.
>
> User need to set
Hi, Joe.
Please pick this patch for your repository.
Best regards,
Nobuhiro
On Mon, Nov 12, 2012 at 2:52 PM, Nobuhiro Iwamatsu wrote:
> On Mon, Nov 5, 2012 at 10:54 AM, Shimoda, Yoshihiro
> wrote:
>> SH7752 has two fast ethernet controllers and two gigabit ethernet
>> controllers. It is simi
Hi
On Wed, Dec 12, 2012 at 12:37 AM, Nobuhiro Iwamatsu
wrote:
> Hi, Joe.
>
> Please pick this patch for your repository.
Sure thing. Did you recently assign it to me in patchwork? I don't
remember seeing it when I pulled patches a few days back.
-Joe
> Best regards,
> Nobuhiro
>
> On Mon,
This patch series adds support for Exynos4 SoCs and ORIGEN_QUAD board.
Exynos4212/4412 are SAMSUNG's ARM Cortex-A15 boased SoCs and Exynos4 series
SoCs.
ORIGEN_QUAD board is based on Exynos4212.
[PATCH 1/4] EXYNOS4: Add pinmux support for UART
[PATCH 2/4] EXYNOS4: Add pinmux support for I2C
[PATC
From: Jeong-Hyeon Kim
This patch adds pinmux support for UART channels
Signed-off-by: Jeong-Hyeon Kim
---
arch/arm/cpu/armv7/exynos/pinmux.c | 41
1 file changed, 41 insertions(+)
diff --git a/arch/arm/cpu/armv7/exynos/pinmux.c
b/arch/arm/cpu/armv7/exyn
From: Jeong-Hyeon Kim
This patch adds pinmux support for I2C channels
Signed-off-by: Jeong-Hyeon Kim
---
arch/arm/cpu/armv7/exynos/pinmux.c | 51
1 file changed, 51 insertions(+)
diff --git a/arch/arm/cpu/armv7/exynos/pinmux.c
b/arch/arm/cpu/armv7/exyno
From: Jeong-Hyeon Kim
This patch adds the support for Exynos4212/4412.
Samsung's ARM Cortex-A9 based Exynos4x12 SoCs and Exynos4210 are similar.
Address of a few registers are different in CMU part like MPLL.
Signed-off-by: Jeong-Hyeon Kim
---
arch/arm/cpu/armv7/exynos/clock.c|7 +
From: Jeong-Hyeon Kim
ORIGEN_QUAD board is based on Samsung's Exynos4412 SoC.
Signed-off-by: Jeong-Hyeon Kim
---
Makefile |2 +-
board/samsung/origen_quad/Makefile| 59 ++
board/samsung/origen_quad/boot.c | 72 +++
board/samsung
101 - 130 of 130 matches
Mail list logo