On 07/22/2017 06:22 AM, Marek Vasut wrote:
> Since we now have clock driver for the RCar Gen3 , add support for
> enabling the clock into the SH SDHI driver to prevent hacks in the
> board files.
>
> Signed-off-by: Marek Vasut
> Cc: Nobuhiro Iwamatsu
On 07/22/2017 06:22 AM, Marek Vasut wrote:
> The command handling in this driver is awful, esp. because the driver
> depends on command numbers to determine whether this is APPCMD or not.
> Also, handling of command RSP response types is totally wrong.
>
> This patch at least plucks out some of
On 07/22/2017 06:22 AM, Marek Vasut wrote:
> Add MMC DM and DT probing support into the SH SDHI driver.
> This patch abstracts out the common bits of the send command
> and set ios functions, so they can be used both by DM and non
> DM setups and adds the DM probe support.
>
> Signed-off-by:
On 07/22/2017 06:11 AM, Marek Vasut wrote:
> The long response entry 0..3 LSByte comes from the next response
> register MSByte, not from the next response register LSByte. Fix
> this to make the driver report correct values in response 136 .
>
> Signed-off-by: Marek Vasut
在 2017-08-17 11:40,Chen-Yu Tsai 写道:
The BPI-M3 is an Allwinner A83T based SBC in the Bananapi/Bpi family.
It is roughly the same form factor as the BPI-M1+, with roughly the
same peripherals and connectors:
- 2GB LPDDR3 DRAM
- 8GB eMMC
- Micro-SD card slot
- HDMI output
- Headset
The BPI-M3 is an Allwinner A83T based SBC in the Bananapi/Bpi family.
It is roughly the same form factor as the BPI-M1+, with roughly the
same peripherals and connectors:
- 2GB LPDDR3 DRAM
- 8GB eMMC
- Micro-SD card slot
- HDMI output
- Headset (stereo + mic) jack
- Onboard mic
-
Hi york,
Yes, I think so.
Thanks
-Original Message-
From: York Sun
Sent: Thursday, August 17, 2017 12:15 AM
To: Xiaowei Bao ; Mingkai Hu ; Sumit
Garg ; u-boot@lists.denx.de
Subject: Re: [U-Boot] [PATCH] ls1046aqds: update
On Wed, Aug 16, 2017 at 08:30:20AM -0700, Tom Warren wrote:
> Tom,
>
> Please pull u-boot-tegra/master into U-Boot/master. Thanks!
>
> All Tegra builds are OK, and Stephen's automated test system reports that
> all tests pass.
>
> The following changes since commit
On Wed, Aug 16, 2017 at 06:30:39PM +0530, Jagan Teki wrote:
> Hi Tom,
>
> Please pull this PR.
>
> thanks!
> Jagan.
>
> The following changes since commit eaa90e5df2a4a1cb12fb73571978a9379242d0b5:
>
> common/env_embedded.c: rename PPCENV/PPCTEXT macros (2017-08-04 20:38:39
> -0400)
>
>
On Wed, Aug 16, 2017 at 06:41:09PM +0530, Jagan Teki wrote:
> Hi Tom,
>
> Please pull this PR.
>
> thanks!
> Jagan.
>
> The following changes since commit b24065c4ef21687787a74eef22dfa9232096f965:
>
> Merge git://git.denx.de/u-boot-i2c (2017-08-10 07:22:59 -0400)
>
> are available in the
On Wed, Aug 16, 2017 at 01:18:40PM +0200, Stefano Babic wrote:
> Hi Tom,
>
> please pull from u-boot-imx, thanks !
>
> The following changes since commit f19955a01482d118eac0fdaf530ec6e5b08cf414:
>
> Merge git://git.denx.de/u-boot-uniphier (2017-07-26 11:29:25 -0400)
>
> are available in
From: Pau Pajuelo
Update igep00x0 code with the following features:
- Add board and revision detection for the boards:
- IGEP0020-RF
- IGEP0020-RC
- IGEP0030-RG
- IGEP0030-RE
- Merge IGEP0020 and IGEP0030 mux tables
- Add suport to use GPIO_126, GPIO_127 and GPIO_129
-
Avoid cluttering board file with CONFIG_SPL_BUILD ifdefs
by moving SPL related functions into separate file.
Signed-off-by: Ladislav Michl
---
board/isee/igep00x0/Makefile | 6 +-
board/isee/igep00x0/common.c | 80 ++
Hi Pau,
code with your patch "igep00x0: merge igep0020 and igep0030 defconfigs to
igep00x0_defconfig" applied no longer fits to sram (and patch even does
not apply anymore), so here's an update:
- move spl related functions to separate file
- update defconfig merge patch to current git
- use
On Wed, Aug 16, 2017 at 12:32 PM, Philipp Tomsich
wrote:
> Update the Micrel KSZ90x1 driver for a live tree.
>
> Signed-off-by: Philipp Tomsich
Acked-by: Joe Hershberger
On Wed, Aug 16, 2017 at 12:32 PM, Philipp Tomsich
wrote:
> Update the Designware Ethernet MAC driver to support a live device
> tree.
>
> Signed-off-by: Philipp Tomsich
Acked-by: Joe Hershberger
This patch enables support for the Rockchip RK3066 SD/MMC controller, which is
based on Designware IP. The device supports SD, SDIO, MMC and eMMC.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- dropped OF_PLATDATA
Changes since v2:
- none
dw_mmc supports two transfer modes in u-boot: idma and fifo.
This patch adds autodetection of transfer mode and eliminates setting this in
host config struct
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
drivers/mmc/dw_mmc.c | 8
Add basic Rockchip nand driver.
Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 bit
asynchronous flash interface support. Other features will come later.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- fixed
In current state dfu depends on cmd/mtdparts.c which isn't build in SPL.
This patch resolves it by cutting out unwanted code in SPL build.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
drivers/dfu/dfu_nand.c | 6 +-
1 file
This patch allows building of nand_bbt, nand_ids, nand_util for nand drivers
that need it.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
drivers/mtd/nand/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git
Rockchip bootrom first reads 1KB data from nand at offset 0x10080C00 and
executes it. Then waits for back to bootrom and loads another 32KB to sram
which also executes. Sdram initialisation code needs to be in one of these two
steps. Then bootloader loads another ~200KB of data at offset
Sysreset drivers for rk3066 and rk3188 contain common elements which can be
reused.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
.../include/asm/arch-rockchip/sysreset_common.h| 20 +++
The Rockchip boot ROM requires a particular file format for booting from NAND:
* It starts with 512-byte, rc4 encoded header and is aligned to nand page size
* Then first 2KB of first stage loader (tpl) aligned to nand page size
* n empty pages
* second 2KB of first stage loader (tpl) aligned
rk3xxx.dtsi is used by rk3188 and rk3066. rk3188 uses alocated data in spl but
rk3066 needs it in tpl.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
arch/arm/dts/rk3xxx.dtsi | 8
1 file changed, 4 insertions(+), 4
Use live tree functions to fill dwc2_plat_otg_data structure in board_usb_init.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
arch/arm/mach-rockchip/rk3066-board.c | 52 +--
1 file changed, 7
Sandisk SDTNQGAMA is a 8GB size, 3.3V 8 bit chip with 16KB page size, 1KB write
size and 40 bit ecc support
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
drivers/mtd/nand/nand_ids.c | 3 +++
1 file changed, 3 insertions(+)
diff
Add rockchip rk3066 sdram driver
Signed-off-by: Paweł Jarosz
Acked-by: Simon Glass
Acked-by: Philipp Tomsich
---
Changes since v1:
- use common rockchip_sdram_size
- moved sdram init from sdram_init.c
Changes
mk808 is a tv stick with two usb ports, micro sd card slot, hdmi and
nand onboard.
Signed-off-by: Paweł Jarosz
Acked-by: Simon Glass
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
rk3066 peripherials include usb, i2c, pwm, gpio, sdio, sdmmc, emmc, spi,
watchdog and uart
Signed-off-by: Paweł Jarosz
Reviewed-by: Simon Glass
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
Add core skeleton for rk3066
Signed-off-by: Paweł Jarosz
Acked-by: Philipp Tomsich
---
Changes since v1:
- updated to shifted masks
- moved syscon.h below spl.h
- changed error to debug and return error reason
- changed Cortex-A7
Add clock driver for rk3066 platform.
Signed-off-by: Paweł Jarosz
Acked-by: Philipp Tomsich
---
Changes since v1:
- updated to shifted masks
- moved clk init to tpl
Changes since v2:
- none
Add support for system reset for rk3066 socs.
Signed-off-by: Paweł Jarosz
Reviewed-by: Simon Glass
Acked-by: Philipp Tomsich
---
Changes since v1:
- updated to shifted masks
Changes since v2:
- none
Add driver supporting pin multiplexing on rk3066 platform.
Signed-off-by: Paweł Jarosz
Acked-by: Philipp Tomsich
---
Changes since v1:
- updated to shifted masks
- added nand support
Changes since v2:
- none
grf is needed by various drivers for rk3066 soc.
Signed-off-by: Paweł Jarosz
Acked-by: Philipp Tomsich
---
Changes since v1:
- updated to shifted masks
Changes since v2:
- none
arch/arm/include/asm/arch-rockchip/grf_rk3066.h |
This patch serie adds support for Rockchip RK3066 processor.
Paweł Jarosz (19):
rockchip: rk3066: add grf header file
rockchip: rk3066: add rk3066 pinctrl driver
rockchip: rk3066: add sysreset driver
rockchip: rk3066: add clock driver for rk3066 soc
rockchip: rk3066: add rk3066 platform
From: Stefan Agner
Use a completely independent USB Product ID for SPL. This allows
to differentiate a SDP running in SPL and SDP running in a U-Boot
which could not read the config block successfully.
Signed-off-by: Stefan Agner
Acked-by:
From: Stefan Agner
Add USB serial download protocol support to SPL. If the SoC started
in recovery mode the SPL will immediately switch to SDP and wait for
further downloads/commands from the host side.
Signed-off-by: Stefan Agner
From: Stefan Agner
Add a new command to start USB Serial Download Protocol (SDP)
state machine.
Signed-off-by: Stefan Agner
Reviewed-by: Łukasz Majewski
Reviewed-by: Stefano Babic
---
Changes in v2:
- Changed
From: Stefan Agner
Document the U-Boot Serial Download Protocol implementation and
some typical use cases.
Signed-off-by: Stefan Agner
---
This ended up to be almost more a imx_usb documentation. But there
is really not much to document from
From: Stefan Agner
Enable Serial Download Protocol (SDP) in SPL and U-Boot. This is
useful to make use of imx_usb to download the complete U-Boot
(u-boot.img) after SPL has been downloaded. The U-Boot command
sdp allows to enumerate as SDP capable device again, e.g. to
From: Stefan Agner
Support U-Boot images in SPL so that u-boot.img files can be
directly downloaded and executed. Furthermore support U-Boot
scripts download and execution in full U-Boot so that custom
recovery actions can be downloaded from the host in a third
step.
From: Stefan Agner
Add SDP (Serial Downloader Protocol) implementation for U-Boot. The
protocol is used in NXP SoC's boot ROM and allows to download program
images. Beside that, it can also be used to read/write registers and
download complete Device Configuration Data
From: Stefan Agner
Move the imximage.h header file to a common location so we can make
use of it from U-Boot too.
Signed-off-by: Stefan Agner
Reviewed-by: Łukasz Majewski
---
Changes in v2: None
{tools =>
From: Stefan Agner
This series adds NXP's Serial Download Protocol (SDP) support via
USB for SPL/U-Boot. It allows to download U-Boot via USB from a
(recovered) SPL using the same tools used to download SPL itself
(specifically imx_usb, but also sb_loader seems to
Remove a comment claiming that this driver only supports the RK3288,
as we also use it on the RK3368, RK3399 and (most likely) on other
variants.
Signed-off-by: Philipp Tomsich
---
drivers/gpio/rk_gpio.c | 1 -
1 file changed, 1 deletion(-)
diff --git
To support bootstage recording, we want to mark our DM timer as the
tick-timer; this triggers the support for 'trying harder' to read the
timer in the Rockchip DM timer driver, even if the device model isn't
ready yet.
Signed-off-by: Philipp Tomsich
---
Update the Rockchip I2C driver to support livetree.
Signed-off-by: Philipp Tomsich
---
drivers/i2c/rk_i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/rk_i2c.c b/drivers/i2c/rk_i2c.c
index 8bc045a..c00b09a 100644
---
This adds OF_LIVE and BOOTSTAGE support for the RK3368-uQ7 and
regenerates the defconfig (picking up a few changes/reorderings) from
upstream Kconfig changes.
Signed-off-by: Philipp Tomsich
---
configs/lion-rk3368_defconfig | 9 +++--
1 file changed,
Update the Rockchip SDHCI wrapper to support a live device tree.
Signed-off-by: Philipp Tomsich
---
drivers/mmc/rockchip_sdhci.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mmc/rockchip_sdhci.c
Update the pinctrl driver for the RK3368 to support a live device tree.
Signed-off-by: Philipp Tomsich
---
drivers/pinctrl/rockchip/pinctrl_rk3368.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
This series converts all dependencies for the RK3368-uQ7 to support a
live tree and and tests w/ BOOTSTAGE enabled (thus introducing a few
additional changes to the Rockchip DM timer driver).
Note that updating the RK3399 support (which will have us look at
video) for a live tree will be next: I
Update the Rockchip SPI driver to support a live device tree.
Signed-off-by: Philipp Tomsich
---
drivers/spi/rk_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c
index c70d636..b18db74
Remove header file includes that have been left over after the
conversion to livetree-support.
Signed-off-by: Philipp Tomsich
---
drivers/power/pmic/rk8xx.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/power/pmic/rk8xx.c
Update the Rockchip-specific wrapper for the Designware driver to
support a live device tree.
Signed-off-by: Philipp Tomsich
---
drivers/mmc/rockchip_dw_mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Update the Rockchip timer driver to support a live device tree.
Signed-off-by: Philipp Tomsich
---
drivers/timer/rockchip_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/timer/rockchip_timer.c
To make the Rockchip DM timer driver useful for the timing of
bootstages, we need a few enhancements:
- This implements timer_get_boot_us.
- This avoids reinitialising the timer, if it has already been
set up (e.g. by our TPL and SPL stages). Now, we have a single
timebase ticking from TPL
Update the Micrel KSZ90x1 driver for a live tree.
Signed-off-by: Philipp Tomsich
---
drivers/net/phy/micrel_ksz90x1.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/phy/micrel_ksz90x1.c
Update the Rockchip GPIO-bank driver to support a live tree.
Signed-off-by: Philipp Tomsich
---
drivers/gpio/rk_gpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/rk_gpio.c b/drivers/gpio/rk_gpio.c
index
Update the clock driver for the RK3368 to support a live device tree.
Signed-off-by: Philipp Tomsich
---
drivers/clk/rockchip/clk_rk3368.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/rockchip/clk_rk3368.c
Update the Designware Ethernet MAC driver to support a live device
tree.
Signed-off-by: Philipp Tomsich
---
drivers/net/designware.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/net/designware.c
When used with bootstage recording, dm_timer_init may be called
surprisingly early: i.e. before dm_root is ready. To deal with
this case, we explicitly check for this condition and return
-EAGAIN to the caller (refer to drivers/timer/rockchip_timer.c
for a case where this is needed/used).
For timing our bootstages on the RK3368, which has a minimal TPL
(and where we consequently don't want to time the bootstages) and a
full-featured SPL (where we can bootstage recording), we need to
adjust the Makefile.
Use the $(SPL_TPL_) macro in the Makefile for bootstage.o
Signed-off-by:
This updates dm_timer_init to support a live tree and deals with
some fallout (i.e. the need to restructure the code such, that we
don't need multiple discontinuous #if CONFIG_IS_ENABLED blocks).
Signed-off-by: Philipp Tomsich
---
fdtdec.h is included, but not used in rk3399-board-spl.c: remove the
'#include'-statement.
Signed-off-by: Philipp Tomsich
---
arch/arm/mach-rockchip/rk3399-board-spl.c | 1 -
1 file changed, 1 deletion(-)
diff --git
On 08/08/2017 07:27 PM, Xiaowei Bao wrote:
> Hi York,
>
> The default partition is mainly to facilitate the test staff to view the
> partition information of the storage medium, And the jira ticket also carry
> by the test staff, I am not sure if it need to push the opensource.
So you agree we
Either will be fine for me: u-boot-rockchip/master is only one DTS fix ahead
of u-boot/master.
> On 16 Aug 2017, at 17:48, Paweł Jarosz wrote:
>
> Hi,
>
>
> W dniu 16.08.2017 o 16:28, Dr. Philipp Tomsich pisze:
>> Pawel,
>>
>> Could you rebase this onto the current
Hi Bin,
On 16.08.2017 12:09, Bin Meng wrote:
Hi Stefan,
On Wed, Aug 16, 2017 at 5:55 PM, Stefan Roese wrote:
Hi Bin,
On 16.08.2017 11:45, Bin Meng wrote:
On Tue, Aug 15, 2017 at 5:33 PM, Stefan Roese wrote:
This patch changes the RX interrupt buffer support
Hi,
W dniu 16.08.2017 o 16:28, Dr. Philipp Tomsich pisze:
Pawel,
Could you rebase this onto the current master (the SPL/TPL changes for
the RK3368 are likely to have affected a few things) and resubmit?
By master you mean u-boot-rockchip master or u-boot master?
Cheers,
Paweł
Thanks,
Hi Bin,
On 16.08.2017 17:37, Stefan Roese wrote:
To support more input characters (longer stings pasted into the U-Boot
prompt) without dropping, lets selects the recently added UART RX
buffer for these boards.
Signed-off-by: Stefan Roese
Cc: Simon Glass
Cc:
This reverts commit 6822cf3ec7c8768b8727573b8f4b2cb3d870b881.
As Bin Meng has tested and pointed out, we don't need the RX interrupt
for the RX buffer support at all. Just reading all available characters
into a buffer is sufficient to solve the problem with the dropped
characters upon long lines
Pasting longer lines into the U-Boot console prompt sometimes leads to
characters missing. One problem here is the small 16-byte FIFO of the
legacy NS16550 UART, e.g. on x86 platforms.
This patch now introduces a Kconfig option to enable RX buffer support
for all DM based serial drivers. With
To support more input characters (longer stings pasted into the U-Boot
prompt) without dropping, lets selects the recently added UART RX
buffer for these boards.
Signed-off-by: Stefan Roese
Cc: Simon Glass
Cc: Bin Meng
---
To support more input characters (longer stings pasted into the U-Boot
prompt) without dropping, lets selects the recently added UART RX
buffer for these boards.
Signed-off-by: Stefan Roese
Cc: Simon Glass
Cc: Bin Meng
---
Tom,
Please pull u-boot-tegra/master into U-Boot/master. Thanks!
All Tegra builds are OK, and Stephen's automated test system reports that
all tests pass.
The following changes since commit 2d3c4ae350fe8c196698681ab9410733bf9017e0:
Prepare v2017.09-rc2 (2017-08-14 20:02:11 -0400)
are
Jagan,
> On 16 Aug 2017, at 15:12, Jagan Teki wrote:
>
> Hi Simon,
>
> On Mon, Aug 14, 2017 at 11:01 PM, Jagan Teki wrote:
>> On Mon, Aug 14, 2017 at 10:03 AM, Jagan Teki
>> wrote:
>>> Hi Simon,
>>>
>>> On Mon,
> Update the tx_deday and rx_delay to match the timing for
> rk3399-firefly board to improve the stability of gmac data
> transfer.
>
> Signed-off-by: Kever Yang
> Acked-by: Philipp Tomsich
> Reviewed-by: Philipp Tomsich
With DM video, this is not used any more. Drop it.
Signed-off-by: Bin Meng
---
drivers/pci/pci_rom.c | 41 -
include/vbe.h | 2 --
2 files changed, 43 deletions(-)
diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c
Pawel,
Could you rebase this onto the current master (the SPL/TPL changes for
the RK3368 are likely to have affected a few things) and resubmit?
Thanks,
Philipp.
> On 11 Aug 2017, at 22:53, Paweł Jarosz wrote:
>
> This patch serie adds support for Rockchip RK3066
On Thu, Aug 03, 2017 at 12:22:02PM -0600, Simon Glass wrote:
> Most of the init() implementations just use the default environment.
> Adjust env_init_new() to do this automatically, and drop the redundant
> code.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Tom Rini
On Thu, Aug 03, 2017 at 12:22:17PM -0600, Simon Glass wrote:
> 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
On Thu, Aug 03, 2017 at 12:22:15PM -0600, Simon Glass wrote:
> We are now using an env_ prefix for environment functions. Rename these
> other functions as well, for consistency:
>
>getenv_vlan()
>getenv_bootm_size()
>getenv_bootm_low()
>getenv_bootm_mapsize()
>
On Thu, Aug 03, 2017 at 12:22:10PM -0600, Simon Glass wrote:
> We are now using an env_ prefix for environment functions. Rename these
> commonly used functions, for consistency. Also add function comments in
> common.h.
>
> Suggested-by: Wolfgang Denk
> Signed-off-by: Simon Glass
On Thu, Aug 03, 2017 at 12:22:16PM -0600, Simon Glass wrote:
> 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
> Reviewed-by: Tom Rini
Applied
On Thu, Aug 03, 2017 at 12:22:11PM -0600, Simon Glass wrote:
> Rename this function for consistency with env_set().
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
On Thu, Aug 03, 2017 at 12:22:06PM -0600, Simon Glass wrote:
> 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.
>
> Reviewed-by: Tom Rini
> Signed-off-by: Simon Glass
On Thu, Aug 03, 2017 at 12:22:13PM -0600, Simon Glass wrote:
> We are now using an env_ prefix for environment functions. Rename these
> for consistency. Also add function comments in common.h.
>
> Suggested-by: Wolfgang Denk
> Signed-off-by: Simon Glass
On Thu, Aug 03, 2017 at 12:22:08PM -0600, Simon Glass wrote:
> Use the env_save() function directly now that there is only one
> implementation of saveenv().
>
> Signed-off-by: Simon Glass
> Reviewed-by: Wolfgang Denk
> Reviewed-by: Tom Rini
On Thu, Aug 03, 2017 at 12:22:05PM -0600, Simon Glass wrote:
> 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
> Reviewed-by: Tom Rini
Applied to u-boot/master,
On Thu, Aug 03, 2017 at 12:22:14PM -0600, Simon Glass wrote:
> Rename this function for consistency with env_get().
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
On Thu, Aug 03, 2017 at 12:22:12PM -0600, Simon Glass wrote:
> We are now using an env_ prefix for environment functions. Rename these
> two functions for consistency. Also add function comments in common.h.
>
> Quite a few places use getenv() in a condition context, provoking a
> warning from
On Thu, Aug 03, 2017 at 12:22:03PM -0600, Simon Glass wrote:
> Add a name to the driver and use that instead of the global variable
> declared by each driver.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Tom Rini
Applied to u-boot/master, thanks!
--
On Thu, Aug 03, 2017 at 12:21:51PM -0600, Simon Glass wrote:
> These functions are not used outside this file. Make them static and order
> them to avoid forward declarations.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Tom Rini
Applied to
On Thu, Aug 03, 2017 at 12:21:59PM -0600, Simon Glass wrote:
> At present we support multiple environment drivers but there is not way to
> select between them at run time. Also settings related to the position and
> size of the environment area are global (i.e. apply to all locations).
>
>
On Thu, Aug 03, 2017 at 12:22:04PM -0600, Simon Glass wrote:
> This variable is declared as a global in most environment location
> drivers. But it is not used outside the drivers and most of the
> declarations are unnecessary.
>
> Also some drivers call free() on env_ptr which seems wrong since
On Thu, Aug 03, 2017 at 12:21:55PM -0600, Simon Glass wrote:
> 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
>
On Thu, Aug 03, 2017 at 12:22:07PM -0600, Simon Glass wrote:
> This is a strange name for a function that loads the environment. There is
> now only one implementation of this function, so use the new env_load()
> function directly instead.
>
> Signed-off-by: Simon Glass
>
On Thu, Aug 03, 2017 at 12:22:01PM -0600, Simon Glass wrote:
> 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
> Reviewed-by: Tom Rini
Applied
On Thu, Aug 03, 2017 at 12:21:53PM -0600, Simon Glass wrote:
> 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
On Thu, Aug 03, 2017 at 12:22:09PM -0600, Simon Glass wrote:
> We are now using an env_ prefix for environment functions. Rename setenv()
> for consistency. Also add function comments in common.h.
>
> Suggested-by: Wolfgang Denk
> Signed-off-by: Simon Glass
1 - 100 of 162 matches
Mail list logo