The deadline for converting boards passed long ago. It is time to convert
the two remaining architectures (openrisc and sh) and remove the old code.
Both of these architectures will likely need work to get them running again.
If this doesn't happen we could consider removing the code at some point
These are no longer used. The migration is complete. Drop these options.
Signed-off-by: Simon Glass
---
arch/Kconfig | 32
1 file changed, 32 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index ec12013..566f044 100644
--- a/arch/Kconfig
+++ b/arch/Kconf
Since generic board init is enabled, this is not used. Drop it.
Signed-off-by: Simon Glass
---
arch/avr32/include/asm/u-boot.h | 20
1 file changed, 20 deletions(-)
diff --git a/arch/avr32/include/asm/u-boot.h b/arch/avr32/include/asm/u-boot.h
index 8b047ec..7d48e9a 100644
This option is always enabled and is about to be removed. Drop references
to it.
Signed-off-by: Simon Glass
---
common/Makefile| 4 ++--
common/main.c | 6 --
include/watchdog.h | 3 +--
3 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/common/Makefile b/common/Makefi
This option is no longer used so need not be enabled.
Signed-off-by: Simon Glass
---
arch/sh/include/asm/config.h | 2 --
include/configs/gr_cpci_ax2000.h | 1 -
include/configs/gr_ep2s60.h| 1 -
include/configs/gr_xc3s_1500.h | 1 -
include/configs/grsim.h| 1 -
Since generic board init is enabled, this is not used. Drop it.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc5xxx/start.S | 3 +-
arch/powerpc/cpu/ppc4xx/cpu_init.c | 7 ---
arch/powerpc/cpu/ppc4xx/start.S| 4 --
arch/powerpc/include/asm/u-boot.h | 104 ---
Since generic board init is enabled, this is not used. Drop it.
Signed-off-by: Simon Glass
---
arch/m68k/include/asm/u-boot.h | 39 ---
1 file changed, 39 deletions(-)
diff --git a/arch/m68k/include/asm/u-boot.h b/arch/m68k/include/asm/u-boot.h
index 911c0d3
Since generic board init is enabled, this is not used. Drop it.
Signed-off-by: Simon Glass
---
arch/mips/include/asm/u-boot.h | 16
1 file changed, 16 deletions(-)
diff --git a/arch/mips/include/asm/u-boot.h b/arch/mips/include/asm/u-boot.h
index 4909a2a..af03e8d 100644
--- a/
It is well past the deadline for conversion to generic board init. Remove
the old code.
Stefan, can you test this please and perhaps send a follow-up patch if needed?
Signed-off-by: Simon Glass
---
arch/openrisc/lib/Makefile | 1 -
arch/openrisc/lib/board.c | 140 ---
It is well past the deadline for conversion to generic board init. Remove
the old code.
Please test this and perhaps send a follow-up patch if needed.
Signed-off-by: Simon Glass
---
arch/sh/include/asm/config.h | 2 +
arch/sh/lib/Makefile | 1 -
arch/sh/lib/board.c | 189 -
Allow this to be unset, such that gd->mon_len is invalid. This seems to be
what the sh architecture does.
Signed-off-by: Simon Glass
---
common/board_f.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/board_f.c b/common/board_f.c
index 109025a..d405b5b 100644
--- a/c
This includes the following fixes:
- Define needed __init_end symbol - see initr_reloc_global_data()
- Drop SH-specific struct bd_info
- Add an empty relocate_code() function
This prevents build errors with generic board, but the code will still need
work. Perhaps this is a better alternative than
Remove the warning from the Makefile, since boards that do not use generic
board will no longer build. Also update documentation.
Signed-off-by: Simon Glass
---
Makefile | 14 -
README | 10 ---
board/sandbox/README.sandbox | 3 +-
doc/READ
Note that UEFI firmware support is already available on LS2080A-RDB and allows
Booting distributions like CentOS on the same.
Regards,
Bhupesh
> -Original Message-
> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of York
> Sun
> Sent: Saturday, May 14, 2016 1:23 AM
> To: Ale
Hi,
On 18 October 2015 at 10:19, Masahiro Yamada
wrote:
> 2015-10-19 0:54 GMT+09:00 Tom Rini :
>> On Mon, Oct 19, 2015 at 12:30:43AM +0900, Masahiro Yamada wrote:
>>> 2015-10-18 21:19 GMT+09:00 Simon Glass :
>>> > Hi,
>>> >
>>> > It looks like these have no maintainer and have not been converted
Hi,
On 19 October 2015 at 17:14, Tom Rini wrote:
> On Sun, Oct 18, 2015 at 06:18:56AM -0600, Simon Glass wrote:
>
>> Hi Stefan,
>>
>> I would like to remove all the arch/*/lib/board.c files soon.
>>
>> Can you please take a look at converting openrisc to use generic board?
>>
>> doc/README.generi
On 05/14/2016 11:42 PM, Marek Vasut wrote:
> Since the spl_boot_mode() is now passed the boot device to boot from,
> make use of it instead of inquiring for the boot device again. This
> allows board_boot_order() to function correctly.
>
> Signed-off-by: Marek Vasut
> Cc: Andreas Bießmann
> ---
Add missing parenthesis around the variable into the macro.
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
---
arch/arm/mach-at91/include/mach/at91_pmc.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-at91/include/mach/at91_pmc.h
b/arch/arm/
Extend the boot device autodetection from SAMA5D2 only to the entire
SAMA5Dx family of microcontrollers.
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
Cc: Wenyou Yang
---
arch/arm/mach-at91/Makefile | 4 ++--
arch/arm/mach-at91/include/mach/sama5_boot.h | 25 +++
Since the spl_boot_mode() is now passed the boot device to boot from,
make use of it instead of inquiring for the boot device again. This
allows board_boot_order() to function correctly.
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
---
arch/arm/mach-at91/spl.c | 2 +-
1 file changed, 1 inser
The SPL code already knows which boot device it calls the spl_boot_mode()
on, so pass that information into the function. This allows the code of
spl_boot_mode() avoid invokind spl_boot_device() again, but it also lets
board_boot_order() correctly alter the behavior of the boot process.
The later
On 05/14/2016 11:22 PM, Simon Glass wrote:
> Hi Marek,
Hi!
> On 14 May 2016 at 14:23, Marek Vasut wrote:
>> On 05/14/2016 10:02 PM, Simon Glass wrote:
>>> Move these to debug() like the one in check_cache range(), to save SPL
>>> space.
>>
>> This hides cache problems, which were visibly report
On 12 May 2016 at 12:03, Stephen Warren wrote:
> The current reset API implements a method to reset the entire system.
> In the near future, I'd like to introduce code that implements the device
> tree reset bindings; i.e. the equivalent of the Linux kernel's reset API.
> This controls resets to i
Hi Jaehoon,
On 13 May 2016 at 07:09, Jaehoon Chung wrote:
> Hi Simon,
>
> On 05/09/2016 08:00 PM, Minkyu Kang wrote:
>> Hi Jaehoon,
>>
>> On 08/05/16 06:25, Simon Glass wrote:
>>> Hi,
>>>
>>> On 1 March 2016 at 18:51, Minkyu Kang wrote:
Hi,
On 29/02/16 16:18, Jaehoon Chung wrote:
Hi,
On 14 May 2016 at 14:26, Lad, Prabhakar wrote:
> Hi Simon,
>
> On Sat, May 14, 2016 at 8:34 PM, Simon Glass wrote:
>> Hi,
>>
>> On 13 May 2016 at 10:58, Lad, Prabhakar wrote:
>>>
>>> Hello All,
>>>
>>> It's quite a long time, since I touched u-boot code, I was working on
>>> adding a slave
Hi Marek,
On 14 May 2016 at 14:23, Marek Vasut wrote:
> On 05/14/2016 10:02 PM, Simon Glass wrote:
>> Move these to debug() like the one in check_cache range(), to save SPL space.
>
> This hides cache problems, which were visibly reported so far.
> I am opposed to this patch.
Sure, but see check
Hi Stephen,
On 13 May 2016 at 15:52, Stephen Warren wrote:
> From: Stephen Warren
>
> Tegra186's HSP module implements doorbells, mailboxes, semaphores, and
> shared interrupts. This patch provides a driver for HSP, and hooks it
> into the mailbox API. Currently, only doorbells are supported.
>
> Am 14.05.2016 um 21:49 schrieb Simon Glass :
>
> Hi Alexander,
>
>> On 10 May 2016 at 15:25, Alexander Graf wrote:
>> We can now successfully boot EFI applications from disk, but users
>> may want to also run them from a PXE setup.
>>
>> This patch implements rudimentary network support, al
This series expands the CONFIG_BLK support to SPL, fixes up the EFI boot
code and adds a few other tweaks so that all rockchip boards can move to
using driver model for block devices.
It also introduces snprintf() in the tiny-printf code and tidies up the mmc
code a little.
Overall the code size
Hi Simon,
On Sat, May 14, 2016 at 8:34 PM, Simon Glass wrote:
> Hi,
>
> On 13 May 2016 at 10:58, Lad, Prabhakar wrote:
>>
>> Hello All,
>>
>> It's quite a long time, since I touched u-boot code, I was working on
>> adding a slave SPI device to DM, can anyone point me to a sample
>> driver.
>
> I
On 05/14/2016 10:02 PM, Simon Glass wrote:
> Move these to debug() like the one in check_cache range(), to save SPL space.
This hides cache problems, which were visibly reported so far.
I am opposed to this patch.
Wouldn't it make more sense to completely disable printf() and co.
in SPL if you're
When these functions are not compiled in, we still need to declare the
correct function signature to avoid a build warnings in SPL. Fix this.
Signed-off-by: Simon Glass
---
drivers/mmc/mmc_private.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/mmc/mmc_private.h b/
Allow driver model to be used for block devices in the rockchip mmc driver.
Signed-off-by: Simon Glass
---
drivers/mmc/rockchip_dw_mmc.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c
index 0a261
Enable CONFIG_BLK to move to using driver model for block devices. This
affects MMC booting in SPL, as well as MMC access in U-Boot proper.
Signed-off-by: Simon Glass
---
arch/arm/mach-rockchip/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/
Update the MMC environment code so that it works with driver-model enabled
for block devices.
Signed-off-by: Simon Glass
---
common/env_mmc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/env_mmc.c b/common/env_mmc.c
index c7fef18..16f6a17 100644
--- a/commo
This code does not currently build with driver model enabled for block
devices. Update it to correct this.
Signed-off-by: Simon Glass
---
include/efi_loader.h | 2 +-
lib/efi_loader/efi_disk.c | 61 +++
2 files changed, 47 insertions(+), 16 dele
This small change tidies up the code slightly.
Signed-off-by: Simon Glass
---
drivers/mmc/mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index b7c936c..94f19ad 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -1557,7 +155
Allow driver model to be used for block devices in SPL.
Signed-off-by: Simon Glass
---
common/spl/spl_mmc.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index cf527da..5d0c9f9 100644
--- a/common/spl/spl_mmc.c
+++ b/com
Add support for using driver model for block devices in this driver.
Signed-off-by: Simon Glass
---
drivers/mmc/dw_mmc.c | 42 --
include/dwmmc.h | 7 ++-
2 files changed, 34 insertions(+), 15 deletions(-)
diff --git a/drivers/mmc/dw_mmc.c b/dr
This is not currently used and saves a little over 1KB of SPL image size.
Signed-off-by: Simon Glass
---
include/configs/rk3288_common.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index 8a81397..9d50d83 100644
--- a/inclu
Enable this option to correct display artifacts when a write-back cache is
in use.
Signed-off-by: Simon Glass
---
drivers/video/rockchip/rk_vop.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c
index a54af17..db09d9a 100644
-
While we consider whether to drop use of DT in SPL, remove some unwanted
properties. This reduces SPL size by about 250 bytes.
Signed-off-by: Simon Glass
---
configs/firefly-rk3288_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/firefly-rk3288_defconfig b/c
This adds to code size and is not needed, since hang() will print a message.
Signed-off-by: Simon Glass
---
drivers/misc/reset-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/reset-uclass.c b/drivers/misc/reset-uclass.c
index fdb5c6f..52b9e7e 100644
---
Update sdhci.c so that it works with driver model enabled for block devices.
Signed-off-by: Simon Glass
---
drivers/mmc/sdhci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index ef7e615..5c71ab8 100644
--- a/drivers/mmc/sdhci.c
+
Move these to debug() like the one in check_cache range(), to save SPL space.
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv7/cache_v7.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/cpu/armv7/cache_v7.c b/arch/arm/cpu/armv7/cache_v7.c
index dc309da..68c
We don't need an int since no value is over 80. This saves a small amount of
SPL space (about 44 bytes).
Signed-off-by: Simon Glass
---
drivers/mmc/mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 1ddeff4..b7c936c 100644
--- a
This function is no longer used.
Signed-off-by: Simon Glass
---
drivers/mmc/mmc.c | 9 -
include/mmc.h | 1 -
2 files changed, 10 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 74b3d68..1ddeff4 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -1531,1
All boards that use MMC define CONFIG_GENERIC_MMC now, so we can drop this
old code.
Signed-off-by: Simon Glass
---
cmd/mmc.c | 62 ---
include/mmc.h | 4
2 files changed, 66 deletions(-)
diff --git a/cmd/mmc.c b/cmd/mmc.c
index
Add a simple version of this function for SPL. It does not check the buffer
size as this would add to the code size.
Signed-off-by: Simon Glass
---
lib/tiny-printf.c | 27 +--
1 file changed, 25 insertions(+), 2 deletions(-)
diff --git a/lib/tiny-printf.c b/lib/tiny-pri
We need a correct name (rk3288, rk3036) so check this to avoid a crash
later.
Signed-off-by: Simon Glass
---
tools/rkimage.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/tools/rkimage.c b/tools/rkimage.c
index f9fdcfa..ef31cb6 100644
--- a/tools/rkimage.c
+++ b/tool
- Rename 'w' to 'width' to make it more obvious what it is used for
- Use bool and int types instead of char to avoid register-masking on
32-bit machines
Signed-off-by: Simon Glass
---
lib/tiny-printf.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/tin
Hi Alexander,
On 10 May 2016 at 15:25, Alexander Graf wrote:
> We can now successfully boot EFI applications from disk, but users
> may want to also run them from a PXE setup.
>
> This patch implements rudimentary network support, allowing a payload
> to send and receive network packets.
>
> With
Hi Stephen,
On 13 May 2016 at 16:59, Stephen Warren wrote:
> From: Stephen Warren
>
> This adds a sandbox mailbox implementation (provider), a test client
> device, instantiates them both from Sandbox's DT, and adds a DM test
> that excercises everything.
>
> Signed-off-by: Stephen Warren
> ---
On 1 May 2016 at 13:52, Simon Glass wrote:
> Add support for enabling CONFIG_BLK with MMC. This involves changing a
> few functions to use struct udevice and adding a MMC block device driver.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/mmc/mmc.c | 48
> +
On 1 May 2016 at 13:52, Simon Glass wrote:
> Add an emulation of an SD card to sandbox, allowing MMC to be used in tests.
> The emulation is very simple, supporting only card detection and reading
> test data.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/mmc/Kconfig
On 1 May 2016 at 13:52, Simon Glass wrote:
> Enable building the MMC code for sandbox. This increases build
> coverage for sandbox.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> configs/sandbox_defconfig | 2 ++
> include/configs/sandbox.h | 2 ++
> test/dm/blk.c |
On 1 May 2016 at 13:52, Simon Glass wrote:
> Add a simple test which checks that a sandbox-emulated SD card can be used
> correctly. This tests plumbing through the MMC stack's block-device
> implementaion.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Rebase to master
>
> test/dm/
On 1 May 2016 at 13:52, Simon Glass wrote:
> Implement the functions in mmc_legacy.c for driver-model block devices, so
> that MMC can use driver model for these. This allows CONFIG_BLK to be enabled
> with DM_MMC.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/mmc/Make
On 1 May 2016 at 13:52, Simon Glass wrote:
> Instead of looking up the MMC device by number, just pass it in. This makes
> it possible to use this function with driver model.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/mmc/mmc.c | 12
> 1 file changed, 4
On 1 May 2016 at 13:52, Simon Glass wrote:
> Return -EINVAL instead of -1 in this function, to provide a more meaningful
> error.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> disk/part.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied to u-boot-dm.
On 1 May 2016 at 13:52, Simon Glass wrote:
> At present the MMC subsystem maintains its own list of MMC devices. This
> cannot work with driver model, which needs to maintain this itself. Move the
> list code into a separate 'legacy' file. The core MMC code remains, and will
> be shared with the d
On 1 May 2016 at 13:52, Simon Glass wrote:
> Binding an MMC device when CONFIG_BLK is enabled requires that a block
> device be bound as a child of the MMC device. Add a function to do this.
> The mmc_create() method will be used only when DM_BLK is disabled.
>
> Add an unbind method also.
>
> Sig
On 1 May 2016 at 13:52, Simon Glass wrote:
> This driver will require generic MMC and block-device support in a future
> commit. To avoid test errors, make this change now.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/mmc/Makefile | 4
> test/dm/Makefile | 4
On 1 May 2016 at 13:52, Simon Glass wrote:
> Update the existing drivers to set up this new pointer. This will be required
> by the MMC uclass.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/mmc/omap_hsmmc.c | 1 +
> drivers/mmc/pic32_sdhci.c | 7 ++-
> dri
On 1 May 2016 at 13:52, Simon Glass wrote:
> This is not needed since we can use the functions provided by the legacy
> block device support.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> disk/part.c | 67
> ++-
> lib/
On 1 May 2016 at 13:52, Simon Glass wrote:
> This member should be explained, since it is not obvious why it is needed.
> Add a comment.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> include/blk.h | 5 +
> 1 file changed, 5 insertions(+)
Applied to u-boot-dm.
On 1 May 2016 at 13:52, Simon Glass wrote:
> Avoid calling directly into the MMC code - use the new API call instead.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> cmd/mmc.c | 8 +---
> common/env_mmc.c| 4 ++--
> common/spl/spl_mmc.c| 2 +-
>
On 1 May 2016 at 13:52, Simon Glass wrote:
> The block device uclass does not currently support selecting a particular
> hardware partition but this is needed for MMC. Add it so that the blk API
> can support MMC properly.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/
On 1 May 2016 at 13:52, Simon Glass wrote:
> Drop use of the table in part.c for this feature.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> disk/part.c | 12 +---
> 1 file changed, 1 insertion(+), 11 deletions(-)
Applied to u-boot-dm.
On 1 May 2016 at 13:52, Simon Glass wrote:
> The MMC block device is contained within struct mmc. But with driver model
> this will not be the case. Add a function to obtain the block device. We
> can later implement this for CONFIG_BLK.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: Non
On 1 May 2016 at 13:52, Simon Glass wrote:
> Bring this in for SPL so that we can use generic code for loading from
> block devices.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/Makefile | 1 +
> 1 file changed, 1 insertion(+)
Applied to u-boot-dm.
__
On 1 May 2016 at 13:52, Simon Glass wrote:
> Implement this method so that hardware partitions will work correctly with
> MMC.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/mmc/mmc.c | 22 ++
> 1 file changed, 22 insertions(+)
Applied to u-boot-dm.
On 1 May 2016 at 13:52, Simon Glass wrote:
> Some devices have a name that is stored in allocated memory. At present
> there is no mechanism to free this memory when the device is unbound.
>
> Add a device flag to track whether a name is allocated and a function to
> add the flag. Free the memory
On 1 May 2016 at 13:52, Simon Glass wrote:
> This function is defined after it is used. In preparation for making it
> static, move it up a little. Also drop the printf() which should not appear
> in a driver.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/mmc/mmc.c | 4
On 1 May 2016 at 11:36, Simon Glass wrote:
> Enable building the systemace code for sandbox. This increases build
> coverage for sandbox.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> include/configs/sandbox.h | 4
> 1 file changed, 4 insertions(+)
Applied to u-boot-dm.
On 1 May 2016 at 13:52, Simon Glass wrote:
> Mark the device name as allocated so that it will be freed correctly when the
> device is unbound.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/block/blk-uclass.c | 12 ++--
> 1 file changed, 10 insertions(+), 2 del
On 1 May 2016 at 11:36, Simon Glass wrote:
> Add support for CONFIG_BLK to the systemace driver.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/block/systemace.c | 44
> 1 file changed, 44 insertions(+)
Applied to u-boot-dm.
On 1 May 2016 at 13:52, Simon Glass wrote:
> Due to code ordering the block devices are not numbered sequentially. Fix
> this.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/block/blk-uclass.c | 18 +-
> 1 file changed, 9 insertions(+), 9 deletions(-)
A
On 1 May 2016 at 11:36, Simon Glass wrote:
> Move the systemace_get_dev() function below systemace_read() so that we can
> avoid a forward declaration.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/block/systemace.c | 57
> +
On 1 May 2016 at 11:36, Simon Glass wrote:
> Add a function that automatically builds the device name given the parent
> and a supplied string. Most callers will want to do this, so putting this
> functionality in one place makes more sense.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
On 1 May 2016 at 11:36, Simon Glass wrote:
> Allow a devnum parameter of -1 to indicate that the device number should be
> alocated automatically. The next highest available device number for that
> interface type is used.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/
On 1 May 2016 at 11:36, Simon Glass wrote:
> Enable building the SATA code for sandbox. This increases build coverage
> for sandbox.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> include/configs/sandbox.h | 3 +++
> 1 file changed, 3 insertions(+)
Applied to u-boot-dm.
__
On 1 May 2016 at 11:36, Simon Glass wrote:
> Enable building the SCSI code for sandbox. This increases build coverage
> for sandbox.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> include/configs/sandbox.h | 6 ++
> 1 file changed, 6 insertions(+)
Applied to u-boot-dm.
___
On 1 May 2016 at 11:36, Simon Glass wrote:
> Add driver-model block-device support to the SATA implementation. This is
> just a dummy implementation for now, since the SATA low-level API uses
> numbered devices and that doesn't fit with driver model.
>
> Signed-off-by: Simon Glass
> ---
>
> Chang
On 1 May 2016 at 11:36, Simon Glass wrote:
> Add driver-model block-device support to the SCSI implementation.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> common/scsi.c | 32
> 1 file changed, 32 insertions(+)
Applied to u-boot-dm.
_
On 1 May 2016 at 11:36, Simon Glass wrote:
> This is now handled by the legacy block driver. The get_dev() method is
> no-longer used. Drop it.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> include/part.h | 1 -
> 1 file changed, 1 deletion(-)
Applied to u-boot-dm.
__
On 1 May 2016 at 11:36, Simon Glass wrote:
> Enable building the IDE code for sandbox. This is for build coverage only.
> It does not currently work.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Update the commit message to indicate that IDE doesn't work on sandbox
>
> include/con
On 1 May 2016 at 11:36, Simon Glass wrote:
> Add driver-model block-device support to the IDE implementation.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> common/ide.c | 32
> include/ide.h | 8
> 2 files changed, 40 insertions(+)
On 1 May 2016 at 11:36, Simon Glass wrote:
> This function is implemented by the legacy block functions now. Drop it.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> disk/part.c | 2 +-
> drivers/block/sandbox.c | 10 --
> include/part.h | 2 --
>
On 1 May 2016 at 11:36, Simon Glass wrote:
> This has nothing of consequence. Remove it and its only inclusion site.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> drivers/block/systemace.c | 1 -
> include/systemace.h | 10 --
> 2 files changed, 11 deletions(-)
On 1 May 2016 at 11:36, Simon Glass wrote:
> This function is implemented by the legacy block functions now. Drop it.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> common/scsi.c | 7 ---
> common/spl/spl_sata.c | 2 +-
> disk/part.c | 2 +-
> include/part
On 1 May 2016 at 11:36, Simon Glass wrote:
> This function is implemented by the legacy block functions now. Drop it.
>
> We cannot yet make sata_dev_desc[] private to common/sata.c as it is used by
> the SATA drivers. This will require the SATA interface to be reworked.
>
> Signed-off-by: Simon G
On 1 May 2016 at 11:36, Simon Glass wrote:
> This function is implemented by the legacy block functions now. Drop it.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> common/ide.c | 7 ---
> disk/part.c| 2 +-
> include/part.h | 2 --
> 3 files changed, 1 insertion(+),
On 1 May 2016 at 11:36, Simon Glass wrote:
> This function is implemented by the legacy block functions now. Drop it.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> cmd/mmc.c | 2 +-
> disk/part.c | 1 -
> drivers/mmc/mmc.c | 16 ++--
> include/part.
On 1 May 2016 at 11:36, Simon Glass wrote:
> This function is implemented by the legacy block functions now. Drop it.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> disk/part.c | 2 +-
> drivers/block/systemace.c | 14 +++---
> include/part.h|
On 1 May 2016 at 11:36, Simon Glass wrote:
> Instead of calling xx_get_dev() functions for each interface type, use the
> new legacy block driver which can provide the device through its interface.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> disk/part.c | 7 +++
> 1 file
On 1 May 2016 at 11:36, Simon Glass wrote:
> This function is implemented by the legacy block functions now. Drop it.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
>
> board/cm5200/fwupdate.c | 2 +-
> cmd/usb.c | 16 ++--
> common/spl/spl_usb.c| 2
On 1 May 2016 at 11:36, Simon Glass wrote:
> At present the SCSI command code includes both the command-processing code
> and the core SCSI functions and data structures.
>
> Separate the latter into its own file, adding functions as needed to avoid
> the command code accessing data structures dir
On 1 May 2016 at 11:36, Simon Glass wrote:
>
> At present the IDE command code includes both the command-processing code
> and the core IDE functions and data structures.
>
> Separate the latter into its own file, adding functions as needed to avoid
> the command code accessing data structures dir
On 1 May 2016 at 11:36, Simon Glass wrote:
> At present the SATA command code includes both the command-processing code
> and the core SATA functions and data structures.
>
> Separate the latter into its own file, adding functions as needed to avoid
> the command code accessing data structures dir
1 - 100 of 139 matches
Mail list logo