This error code has not been upstreamed and is not really needed since it
is unlikely to be triggered. Drop it to maintain compatability with
upstream.
Reported-by: Peter Robinson
Signed-off-by: Simon Glass
---
lib/libfdt/fdt_region.c | 2 +-
Hi Tom,
On 9 July 2017 at 16:36, Tom Rini wrote:
> On Sun, Jul 09, 2017 at 12:38:19PM -0600, Simon Glass wrote:
>> Hi,
>>
>> On 9 July 2017 at 06:49, Tom Rini wrote:
>> > On Sun, Jul 09, 2017 at 10:45:52AM +0100, Peter Robinson wrote:
>> >> On Sat, Jul 8,
Use the env_save() function directly now that there is only one
implementation of saveenv().
Signed-off-by: Simon Glass
---
arch/arm/mach-omap2/boot-common.c | 3 ++-
board/siemens/taurus/taurus.c | 5 +++--
board/toradex/apalis_imx6/apalis_imx6.c | 3 ++-
The load() methods have inconsistent behaviour on error. Some of them load
an empty default environment. Some load an environment containing an error
message. Others do nothing.
As a step in the right direction, have the method return an error code.
Then the caller could handle this itself in a
Add a name to the driver and use that instead of the global variable
declared by each driver.
Signed-off-by: Simon Glass
---
cmd/nvedit.c | 4 +++-
env/dataflash.c | 3 +--
env/eeprom.c | 3 +--
env/env.c | 2 +-
env/ext4.c
In principle this can fail, e.g. if the index is out of range. Adjust the
driver signature to allow returning an error code.
Signed-off-by: Simon Glass
---
env/dataflash.c | 2 +-
env/eeprom.c | 2 +-
env/nvram.c | 2 +-
include/environment.h | 4
We only have a single implementation of this function now and it is called
env_get_char(). Drop the old function and the weak version.
Signed-off-by: Simon Glass
---
env/common.c | 14 --
env/env.c | 15 +++
include/environment.h
Now that env_init() is only defined once we can drop the env_init_new()
name and just use env_init().
Signed-off-by: Simon Glass
---
env/env.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/env/env.c b/env/env.c
index a649457270..70ce2857c3 100644
Move over to use a the master implementation of the location drivers, with
each method calling out to the appropriate driver.
Signed-off-by: Simon Glass
---
env/dataflash.c | 16
env/eeprom.c| 16
env/env.c | 26
We plan to move to a environment access via drivers for each location
where the environment can be stored. Add an implementation for this. So
far it is not used, but will be pressed into service in a future patch.
Signed-off-by: Simon Glass
---
env/Makefile | 2 +-
This function does nothing but call env_get_char_spec(). Drop it and
adjust its only caller.
Signed-off-by: Simon Glass
---
env/common.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/env/common.c b/env/common.c
index 10c4e134f4..e919269c7f 100644
We want to use this name for all environment drivers. Update the nand
driver to use a more specific name.
Signed-off-by: Simon Glass
---
env/nand.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/env/nand.c b/env/nand.c
index a67b5ad1ab..e9188539ca
At present we have three states for the environment, numbered 0, 1 and 2.
Add an enum to record this to avoid open-coded values.
Signed-off-by: Simon Glass
---
board/Arcturus/ucp1020/spl.c | 3 ++-
board/freescale/b4860qds/spl.c | 3 ++-
This function is not used anywhere other than env_get_char(). Move the
code into that function.
Signed-off-by: Simon Glass
---
env/common.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/env/common.c b/env/common.c
index
The check for gd->env_valid is used in both the 'if' and 'else' part of
env_get_char(). Move it into that function instead for simplicity. Drop
that code from the two leaf functions.
Signed-off-by: Simon Glass
---
env/common.c | 17 ++---
1 file changed, 6
This function is the same as env_get_char_spec() apart from dropping the
brackets. Drop the brackets from env_get_char_spec() and use that instead
of env_get_char_memory().
Signed-off-by: Simon Glass
---
env/common.c | 7 ---
1 file changed, 7 deletions(-)
diff --git
These functions are not used outside this file. Make them static and order
them to avoid forward declarations.
Signed-off-by: Simon Glass
---
env/common.c | 18 +-
include/environment.h | 4
2 files changed, 9 insertions(+), 13 deletions(-)
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_FAT
Signed-off-by: Simon Glass
---
README | 44
arch/arm/Kconfig | 1 +
configs/am335x_evm_defconfig
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_DATAFLASH
Signed-off-by: Simon Glass
---
README| 13 -
configs/at91sam9260ek_dataflash_cs0_defconfig | 1 +
configs/at91sam9260ek_dataflash_cs1_defconfig | 1 +
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_REMOTE
Signed-off-by: Simon Glass
---
configs/B4860QDS_SRIO_PCIE_BOOT_defconfig | 1 +
configs/P2041RDB_SRIO_PCIE_BOOT_defconfig | 1 +
configs/P3041DS_SRIO_PCIE_BOOT_defconfig | 1 +
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_EEPROM
Signed-off-by: Simon Glass
---
README | 60
configs/imx31_phycore_defconfig | 1 +
configs/imx31_phycore_eet_defconfig | 1 +
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_NVRAM
Signed-off-by: Simon Glass
---
README | 14 --
configs/highbank_defconfig | 3 ++-
env/Kconfig | 15 +++
include/configs/highbank.h | 1 -
About a quarter of the files in common/ relate to the environment. It
seems better to put these into their own subdirectory and remove the
prefix.
Signed-off-by: Simon Glass
---
Kconfig | 2 +
Makefile | 1
The CONFIG_ENV_IS_IN_... options which have already been converted to
Kconfig only have a small amount of help. Move the rest of it over from
the README.
Signed-off-by: Simon Glass
---
README | 114
This target stops us using 'env' as a subdirectory. It is not mentioned in
the help so seems to be an internal target. Rename it.
Signed-off-by: Simon Glass
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index
The environment code is ripe for improvement in various ways. It has lots
of duplication and inconsistencies between how things work with different
environment locations. It does not properly use Kconfig. Error checking
and handling is patchy.
This series makes a start at improving things:
-
The default setting for USB High Speed Squelch Threshold results
in a threshold close to or lower than 100mV. This leads to Receive
Compliance test failure for a 100mV threshold.
The changes shift the threshold from ~100mV towards ~130mV resulting
in passing of USB High Speed Receiver Sensitivity
USB High Speed (HS) EYE Height Adjustment
USB HS speed eye diagram fails with the default value at
many corners, particularly at a high temperature
Optimal eye at TXVREFTUNE value to 1001 is ovserved, change
set the same value.
Signed-off-by: Sriram Dash
Signed-off-by:
Low Frequency Periodic Singaling (LFPS) Peak-to-Peak Differential
Output Voltage Test Compliance fails using default transmitter settings
Change settings required for transmitter signal swings to pass
compliance tests.
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
Low Frequency Periodic Signaling(LFPS) Peak-to-Peak Differential
Output Voltage Test Compliance fails using default transmitter
settings
Change setting required for transmitter signal swings to pass
compliance tests.
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
Rx Compliance tests may fail intermittently at high
jitter frequencies using default register values
Changes identified in test setup makes the Rx compliance test pass
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
Signed-off-by: Suresh
Rx Compliance tests may fail intermittently at high
jitter frequencies using default register values.
Changes identified in setup makes the Rx compliance test pass.
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
Signed-off-by: Suresh Gupta
The default setting for USB High Speed Squelch Threshold results
in a threshold close to or lower than 100mV. This leads to Receiver
Compliance test failure for a 100mV threshold.
The changes shift the threshold from ~100mV woards ~130mV resulting
in passing of USB High Speed Receiver Sensitivity
USB High Speed (HS) EYE Height Adjustment
USB HS speed eye diagram fails with the default value at
many corners, particularly at a high temperature
Optimal eye at TXREFTUNE value to 1001 is observed, change
set the same value.
Signed-off-by: Ran Wang
---
Hello,
I wishb to run this RTOS: https://github.com/trampolinertos/trampoline, on
Zedboard having these files on SD card.
SD_ROOT/
boot.bin
devicetree.dtb
uImage
uramdisk.image.gz
How can I build u-boot and dtb for this RTOS and make u-boot load the rtos
instead of Linux ?
Thank you
ᐧ
+Simon,
Hi Andy,
On Wed, Jul 5, 2017 at 9:09 PM, Tom Rini wrote:
> On Wed, Jul 05, 2017 at 08:19:27PM +0800, Bin Meng wrote:
>> +Marek,
>>
>> Hi Andy,
>>
>> On Wed, Jul 5, 2017 at 5:36 PM, Andy Shevchenko
>> wrote:
>> > On Wed, Jul 5, 2017 at
On Sun, Jul 09, 2017 at 12:38:19PM -0600, Simon Glass wrote:
> Hi,
>
> On 9 July 2017 at 06:49, Tom Rini wrote:
> > On Sun, Jul 09, 2017 at 10:45:52AM +0100, Peter Robinson wrote:
> >> On Sat, Jul 8, 2017 at 1:21 PM, Tom Rini wrote:
> >> > On Sat, Jul 08,
This commit adds GPIO support to the Amlogic Meson pin controller
driver, based on code from Linux kernel.
Reviewed-by: Simon Glass
Signed-off-by: Beniamino Galvani
---
arch/arm/include/asm/arch-meson/gpio.h | 11 ++
Update the Meson pinctrl/gpio driver to support a live device tree.
Signed-off-by: Beniamino Galvani
---
drivers/pinctrl/meson/pinctrl-meson.c | 66 +++
1 file changed, 36 insertions(+), 30 deletions(-)
diff --git
GPIOs are now supported on Meson GXBB, enable driver and command in
the config.
Signed-off-by: Beniamino Galvani
---
configs/odroid-c2_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/odroid-c2_defconfig b/configs/odroid-c2_defconfig
index
Hi,
this series adds to U-Boot a GPIO driver for Meson GXBB and enables it
on Odroid-C2.
Changes since v1:
- updated dts files from Linux 4.12
- added missing asm/arch/gpio.h
- added patch 4 to convert driver to livetree
Beniamino Galvani (4):
arm: dts: meson: import dts files from Linux
Import Amlogic Meson DTS files from Linux kernel version 4.12
Signed-off-by: Beniamino Galvani
---
arch/arm/dts/meson-gx.dtsi| 97 --
arch/arm/dts/meson-gxbb-odroidc2.dts | 82 ++-
arch/arm/dts/meson-gxbb.dtsi | 187
Hi,
On 9 July 2017 at 06:49, Tom Rini wrote:
> On Sun, Jul 09, 2017 at 10:45:52AM +0100, Peter Robinson wrote:
>> On Sat, Jul 8, 2017 at 1:21 PM, Tom Rini wrote:
>> > On Sat, Jul 08, 2017 at 09:27:59AM +0100, Peter Robinson wrote:
>> >> On Wed, Jul 5,
On Sat, Jul 8, 2017 at 1:35 PM, wrote:
> From ad9d562b334dd81ad72656afbb28a723e5d9fc44 Mon Sep 17 00:00:00 2001
> From: Richard Kojedzinszky
> Date: Sat, 5 Nov 2016 13:43:13 +0100
> Subject: [PATCH 1/2] Added configs/Sinovoip_BPI_M2_plus_defconfig
>
> ---
>
I'm on vacation until Monday, 17 July. I can look at it then.
--
nvpublic
> -Original Message-
> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass
> Sent: Saturday, July 08, 2017 9:09 AM
> To: Thomas Hoff
> Cc: Stephen Warren
On Sun, Jul 09, 2017 at 10:45:52AM +0100, Peter Robinson wrote:
> On Sat, Jul 8, 2017 at 1:21 PM, Tom Rini wrote:
> > On Sat, Jul 08, 2017 at 09:27:59AM +0100, Peter Robinson wrote:
> >> On Wed, Jul 5, 2017 at 8:37 AM, Peter Robinson
> >> wrote:
> >> >>
On Sat, Jul 8, 2017 at 1:21 PM, Tom Rini wrote:
> On Sat, Jul 08, 2017 at 09:27:59AM +0100, Peter Robinson wrote:
>> On Wed, Jul 5, 2017 at 8:37 AM, Peter Robinson wrote:
>> >> On 21 June 2017 at 01:07, Peter Robinson wrote:
>>
47 matches
Mail list logo