On 15.02.2016 00:28, Simon Glass wrote:
> This is broken - we need to look at the first two characters to distinguish
> 'gpio status' from 'gpio set'.
>
> Fixes: 0ffe6ab5 (gpio: Allow 's' as an abbreviation for 'status')
> Reported-by: Soeren Moch
> Signed-off-by: Simon Glass
From: Hannes Schmelzer
In commit 0ffe6ab521f900bcc765be8f2f31d2c2ba3f0a7e the abbreviation for
the subcommand 'status' was introduced and breaks the 'gpio set'
command.
The change runs a test on the first character of the subcommand only,
this method does not
Hi Bin,
On 14.2.2016 13:00, Bin Meng wrote:
> Hi Michal,
>
> On Sun, Feb 14, 2016 at 6:03 PM, Michal Simek wrote:
>> Hi Bin,
>>
>> 2016-02-14 3:25 GMT+01:00 Bin Meng :
>>>
>>> Hi Michal,
>>>
>>> On Sat, Feb 13, 2016 at 6:39 PM, Michal Simek
2016-02-15 16:10 GMT+09:00 Masahiro Yamada :
> This reverts commit 0ffe6ab521f900bcc765be8f2f31d2c2ba3f0a7e.
>
> The GPIO command has five sub-commands: status, input, set, clear,
> and toggle. Commit 0ffe6ab521f9 (" gpio: Allow 's' as an
> abbreviation for
This reverts commit 0ffe6ab521f900bcc765be8f2f31d2c2ba3f0a7e.
The GPIO command has five sub-commands: status, input, set, clear,
and toggle. Commit 0ffe6ab521f9 (" gpio: Allow 's' as an
abbreviation for 'status'") made the "set" sub-command unreachable
because the sub-command that starts with
so you just want to boot a raw binary which is not a kernel and doesn't use
the U-Boot API?
Actually, this shouldn't change anything. Linux isn't anything more than a
"self-contained" raw binary either.
I don't see why bootm wouldn't work in you situation.
Michael
On Sun, Feb 14, 2016 at 8:24
Add USB XHCI support for ls1043qds board.
Signed-off-by: Gong Qianyu
---
board/freescale/ls1043aqds/ls1043aqds.c | 15 +++
include/configs/ls1043aqds.h| 13 +
2 files changed, 28 insertions(+)
diff --git
> -Original Message-
> From: york sun
> Sent: Friday, February 12, 2016 1:39 AM
> To: Scott Wood ; Qianyu Gong ; u-
> b...@lists.denx.de
> Subject: Re: [U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to Fman
> driver code
>
> On 02/08/2016
From: no one
Recent MIPS Linux kernels are using a 64-bit value for the load
address (0x8001) for the Creator CI20 board kernel. When
this argument was passed to the mkimage program running on a 32-bit
machine such as the Creator CI20 board the load address was
On 11/02/16 15:34, Stuart Longland wrote:
> I now
> get the following error code displayed:
>
> HTLLCL0x8050100b
>
> The documentation I found here http://www.denx-cs.de/?q=blogm28mxssb
> seemed to suggest the following meaning:
>
>
> .--- Valid SB
> |.-- SB tag
>
Hi Simon,
On Sun, Feb 7, 2016 at 4:29 AM, Simon Glass wrote:
> Hi Bin,
>
> On 3 February 2016 at 04:59, Mugunthan V N wrote:
>>
>> Implement scsi_init() api to probe driver model based sata
>> devices.
>>
>> Signed-off-by: Mugunthan V N
On 02/14/2016 06:18 PM, Simon Glass wrote:
> Hi Stephen,
>
> On 11 February 2016 at 09:19, Stephen Warren wrote:
>> From: Stephen Warren
>>
>> This allows U-Boot to expose UMS and DFU protocols on this port in device
>> mode, or to act as a USB host on
This is a device number, and we want to use 'dev' to mean a driver model
device. Rename the member.
Signed-off-by: Simon Glass
---
board/sunxi/board.c | 4 ++--
cmd/cbfs.c | 1 +
cmd/disk.c | 2 +-
cmd/fat.c
On 02/14/2016 06:19 PM, Simon Glass wrote:
> Hi Stephen,
>
> On 10 February 2016 at 16:54, Stephen Warren wrote:
>> From: Stephen Warren
>>
>> u_boot_console.exec_attach.get_spawn() performs two steps:
>> 1) Spawn a process to communicate with the
Rename three partition functions so that they start with part_. This makes
it clear what they relate to.
Signed-off-by: Simon Glass
---
board/cm5200/fwupdate.c | 2 +-
cmd/ide.c | 6 +++---
cmd/mmc.c | 2 +-
cmd/part.c| 8
To ease conversion to driver model, add helper functions which deal with
calling each block device method. With driver model we can reimplement these
functions with the same arguments.
Use inline functions to avoid increasing code size on some boards.
Signed-off-by: Simon Glass
Rename this function to blk_get_device_part_str(). This is a better name
because it makes it clear that the function returns a block device and
parses a string.
Signed-off-by: Simon Glass
---
cmd/disk.c | 2 +-
cmd/fat.c| 4 ++--
cmd/part.c | 2 +-
Recent additions of the MMC and DISK uclasses have indicated that it is time
to look at adding a uclass for block devices. This series does this and
includes a few clean-ups to the partition code also.
A block device is typically a child device of its storage parent. For
example an MMC device
Use 'struct' instead of a typdef. Also since 'struct block_dev_desc' is long
and causes 80-column violations, rename it to struct blk_desc.
Signed-off-by: Simon Glass
---
api/api.c | 2 +-
api/api_storage.c | 14 ++---
board/cm5200/fwupdate.c
Update this code to support CONFIG_BLK. Each USB storage device can have
one or more block devices as children, each one representing a LUN
(logical unit) of the USB device.
Signed-off-by: Simon Glass
---
common/usb_storage.c | 141
Add a uclass for block devices. These provide block-oriented data access,
supporting reading, writing and erasing of whole blocks.
Signed-off-by: Simon Glass
---
drivers/block/Kconfig | 11 +++
drivers/block/Makefile | 2 +
drivers/block/blk-uclass.c | 175
Now that the drivers used by sandbox support CONFIG_BLK, we can switch
sandbox over to use driver model for block devices.
Signed-off-by: Simon Glass
---
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sandbox_defconfig
Make a few minor changes to make it easier to add driver-model support.
Signed-off-by: Simon Glass
---
drivers/block/sandbox.c | 30 ++
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/drivers/block/sandbox.c
Driver model is used for host device block devices now, so we don't need the
old code. Remove it.
Signed-off-by: Simon Glass
---
drivers/block/sandbox.c | 90 -
1 file changed, 90 deletions(-)
diff --git
Add some tests to check that block devices work as expected.
Signed-off-by: Simon Glass
---
test/dm/Makefile | 1 +
test/dm/blk.c| 96
2 files changed, 97 insertions(+)
create mode 100644 test/dm/blk.c
diff
The USB subsystem has a few counters that need to be reset since they are
stored in static variables rather than driver-model data. An example is
usb_max_devs. Ultimately we should move this data into the USB uclass.
For now, make sure that USB is reset after each test, so that the counters
go
Enable these two filesystems to provide better build coverage in sandbox.
Signed-off-by: Simon Glass
---
include/configs/sandbox.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 0f02839..2268c4e 100644
---
Adjust a few things so that the addition of driver-models support involved
adding code rather than also changing it. This makes the patches easier to
review.
Signed-off-by: Simon Glass
---
common/usb_storage.c | 117 +++
1 file
We don't want old block devices hanging around since they can still appear
visible in some way.
Possibly we should unbind all devices which don't cause problems by being
unbound. Most likely we can remove everything except USB controllers, hubs
and emulators. We can consider that later.
Update the host driver to support driver model for block devices. A future
commit will remove the old code, but for now it is useful to be able to use
it both with and without CONFIG_BLK.
Signed-off-by: Simon Glass
---
cmd/host.c| 9 +++-
It is useful to have sandbox build as much code as possible to avoid having
to build every board to detect build errors. Also we may add tests for some
more partition types at some point.
Enable all partition types in sandbox.
Signed-off-by: Simon Glass
---
The limit on storage devices is USB_MAX_STOR_DEV but we use one extra
element while probing to see if a device is a storage device. Avoid this,
since it causes memory corruption.
Signed-off-by: Simon Glass
---
common/usb_storage.c | 14 +++---
1 file changed, 7
The comment for file_cbfs_type() says that it returns 0 for an invalid type.
The code appears to check for -1, except that it uses an unsigned variable
to store the type. This results in a warning on 64-bit machines.
Adjust it to make the meaning clearer. Continue to handle the -1 case since
it
We can use linker lists instead of explicitly declaring each function.
This makes the code shorter by avoiding switch() statements and lots of
header file declarations.
While this does clean up the code it introduces a few code issues with SPL.
SPL never needs to print partition information since
The current name is too generic. The function returns a block device based
on a provided string. Rename it to aid searching and make its purpose
clearer. Also add a few comments.
Signed-off-by: Simon Glass
---
cmd/part.c | 6 +++---
cmd/unzip.c| 2
The block interface is not well documented in the code. Pick two important
functions and add comments.
Signed-off-by: Simon Glass
---
include/part.h | 30 ++
1 file changed, 30 insertions(+)
diff --git a/include/part.h b/include/part.h
index
In part_amiga.c the name is unsigned by bcpl_strcpy() requires a signed
pointer. Add a cast to fix the warning.
Signed-off-by: Simon Glass
---
disk/part_amiga.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/disk/part_amiga.c b/disk/part_amiga.c
index
Since these are sequentially numbered it makes sense to use an enum. It
avoids having to maintain the maximum value, and provides a type we can use
if it useful.
In fact the maximum value is not used. Rename it to COUNT, since MAX suggests
it is the maximum valid value, but it is not.
At present block devices are tied up with partitions. But not all block
devices have partitions within them. They are in fact separate concepts.
Create a separate blk.h header file for block devices.
Signed-off-by: Simon Glass
---
include/blk.h | 71
Adjust the cast to avoid a warning when stdint.h is used.
Signed-off-by: Simon Glass
---
disk/part_efi.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/disk/part_efi.c b/disk/part_efi.c
index db5e7ed..7bd840f 100644
--- a/disk/part_efi.c
+++
Each region is displayed in almost the same way. Break out this common code
into its own function.
Signed-off-by: Simon Glass
---
drivers/pci/pci_auto_common.c | 51 +++
1 file changed, 17 insertions(+), 34 deletions(-)
diff --git
We should not include in header files. Each C file should include
it if needed.
Signed-off-by: Simon Glass
---
include/part.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/part.h b/include/part.h
index d1e9d0f..140c9b6 100644
--- a/include/part.h
+++
Adjust the cast to avoid a warning when stdint.h is used.
Signed-off-by: Simon Glass
---
lib/fdtdec.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 1b1ca02..d23f187 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@
Recent changes have broken the FIT and vboot tests. Also the SPI tests have
been wrong since before the last release and were disabled.
This series collects together the required fixes.
Note: The FIT and vboot tests are hard to run (in that each requires manual
effort). At some point we should
We must not free data that is managed by driver mode. Remove this line,
which is a hangover from the pre-driver-model code.
This fixes a problem where 'sf probe' crashes U-Boot if the backing file
for the SPI flash cannot be found.
Signed-off-by: Simon Glass
---
When an error number is provided we should use it, not change it. This fixes
the SPI and SPI flash tests.
One of these is long-standing. The other seems to have been introduced by
commit 1e90d9fd (sf: Move read_id code to sf_ops).
Signed-off-by: Simon Glass
Fixes: 1e90d9fd
These are working correctly again, so re-enable them.
Signed-off-by: Simon Glass
---
test/dm/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/dm/Makefile b/test/dm/Makefile
index d4f3f22..fd0198f 100644
--- a/test/dm/Makefile
+++
Add a little more debugging to help when things go wrong.
Signed-off-by: Simon Glass
---
drivers/mtd/spi/sandbox.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/spi/sandbox.c b/drivers/mtd/spi/sandbox.c
index 895604d..ec07be7
In some cases the timer must be accessible before driver model is active.
Examples include when using CONFIG_TRACE to trace U-Boot's execution before
driver model is set up. Enable this option to use an early timer. These
functions must be supported by your timer driver: timer_early_get_count()
When using the early timer, we need to manually trigger setting up the
real timer. This will not happen automatically. Do this immediately after
starting driver model.
Signed-off-by: Simon Glass
---
common/board_f.c | 6 ++
common/board_r.c | 14 --
2 files
The awk tool can be confused by return character (ASCII 13) in its input
since it thinks there is a separate field. These can appear if the terminal
is in raw mode, perhaps due to a previous U-Boot crash with sandbox. This
is very confusing. Remove these so that the trace test passes.
This has got out of order: fix it.
Signed-off-by: Simon Glass
---
configs/sandbox_defconfig | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index b5b81ca..8b878e2 100644
---
Enable this so that tracing works with sandbox.
Signed-off-by: Simon Glass
---
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 8b878e2..02534bf 100644
--- a/configs/sandbox_defconfig
A few of the functions in the timer uclass are not marked with 'notrace'. Fix
this so that tracing can be used with CONFIG_TRACE.
Signed-off-by: Simon Glass
---
drivers/timer/timer-uclass.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
A recent change broke the 'bootm' command on sandbox. The root cause is
using a pointer as an address. Conversion from pointer to address needs to
use map_to_sysmem() so that sandbox can do the right thing. The problem was
pre-existing but uncovered by a recent commit.
Fix this. Also move
This function can be called from the timer code on instrumented functions.
Mark it as 'notrace' so that it doesn't cause infinite recursion.
Signed-off-by: Simon Glass
---
lib/div64.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/div64.c
When used with a device tree, sandbox now requires a 'reset' controller. Add
this to the device trees so that reset works and the tests can complete.
Signed-off-by: Simon Glass
Fixes: 5010d98f (sandbox: Use the reset driver to handle reset)
---
test/image/test-fit.py
With min() we must use the same type for each parameter. Fix two problems
in trace.c which produce compiler warnings.
Signed-off-by: Simon Glass
---
cmd/trace.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/trace.c b/cmd/trace.c
index
This reverts commit 84ca65aa4bd0d03867e9e49805201d0564d3ffb0.
On signature verification failures fit_image_verify() should NOT exit with
error. Only keys marked 'required' can cause image verification failure.
This logic is already there and works correctly.
Add a comment to make this clear.
On 11 February 2016 at 11:46, Stephen Warren wrote:
> From: Stephen Warren
>
> The initial boot of U-Boot happens within the context of the first test
> that needs to access the U-Boot console when there is no existing
> connection. This keeps all
On 10 February 2016 at 13:47, Stephen Warren wrote:
> From: Stephen Warren
>
> Use lists rather than sets to record the status of tests. This causes
> the test summary in the HTML file to be generated in the same order as
> the tests are (or would have
Hi Stephen,
On 10 February 2016 at 16:54, Stephen Warren wrote:
> From: Stephen Warren
>
> u_boot_console.exec_attach.get_spawn() performs two steps:
> 1) Spawn a process to communicate with the serial console.
> 2) Reset the board so that U-Boot
On 11 February 2016 at 00:59, Masahiro Yamada
wrote:
> 2016-02-11 7:16 GMT+09:00 Stephen Warren :
>> From: Stephen Warren
>>
>> If BUILD_TAG is part of KBUILD_CFLAGS, then any time the value changes,
>> all files get
On 10 February 2016 at 12:39, Stephen Warren wrote:
> From: Stephen Warren
>
> The Python ini file parser that's used to parse .config converts all keys
> to lower-case. Hence, all queries against the results must use lower-case.
> Fix
Hi Stephen,
On 11 February 2016 at 09:19, Stephen Warren wrote:
> From: Stephen Warren
>
> This allows U-Boot to expose UMS and DFU protocols on this port in device
> mode, or to act as a USB host on the port, using an "OTG" (micro-B to
> female A
On 8 February 2016 at 18:23, Stephen Warren wrote:
> From: Stephen Warren
>
> The code replaced pexpect with custom code long ago. Don't import the
> unused module so it doesn't need to be installed.
>
> Signed-off-by: Stephen Warren
On 10 February 2016 at 22:41, Heiko Schocher wrote:
> Hello Stephen,
>
> Am 09.02.2016 um 02:23 schrieb Stephen Warren:
>>
>> From: Stephen Warren
>>
>> This provides runtime test coverage in Travis, in addition to the existing
>> build coverage.
>>
>>
Hi,
On 1 February 2016 at 17:00, Stephen Warren wrote:
>
> On 01/30/2016 04:37 PM, Simon Glass wrote:
>>
>> This series moves these two drivers over to use driver model for video.
>>
>> This involves the following steps:
>> - Sync up some device tree files with Linux
>> -
On 8 February 2016 at 14:49, Stephen Warren wrote:
> From: Stephen Warren
>
> Add documentation describing the new --gdbserver feature, and some common
> pytest options.
>
> Signed-off-by: Stephen Warren
> ---
> test/py/README.md |
thanks for the reply... I am aware of these options. Here problem is when I
use go command my program has to use U-Boot service functions(I mean
standalone binaries will run in U-Boot environment)... But I want to take
complete control from U-Boot as my binary is self-contained binary like
Hi Bin,
Le 06/02/2016 05:11, Bin Meng a écrit :
> Hi Guillaume,
>
> On Fri, Feb 5, 2016 at 9:04 PM, Guillaume REMBERT
> wrote:
>> Hi Bin,
>>
>> Please use following repository with all needed software: linux / gcc / ...
>> https://github.com/openrisc
> Is
Hi Jagan,
Acked-by: Christophe Ricard
Best Regards
Christophe
-Original Message-
From: Jagan Teki [mailto:jt...@openedev.com]
Sent: jeudi 11 février 2016 20:01
To: u-boot@lists.denx.de
Cc: Jagan Teki; Tom Rini; Simon Glass; Christophe Henri RICARD
Subject:
Hi Jagan,
Acked-by: Christophe Ricard
Best Regards
Christophe
-Original Message-
From: Jagan Teki [mailto:jt...@openedev.com]
Sent: jeudi 11 février 2016 20:01
To: u-boot@lists.denx.de
Cc: Jagan Teki; Tom Rini; Simon Glass; Christophe Henri RICARD
Subject:
I am trying to modify the bootloader code for NVIDIA's jetson board.
So I am looking at crt0.S. It seems that two builds happen, one with
CONFIG_SPL_BUILD and one without. So you end up with two file, u-boot.bin
and spl/u-boot-spl.bin.
However, I am unable to find the code path that calls
Hi Jagan,
Sorry for the delay.
Acked-by: Christophe Ricard
Best Regards
Christophe
-Original Message-
From: Jagan Teki [mailto:jt...@openedev.com]
Sent: jeudi 11 février 2016 20:01
To: u-boot@lists.denx.de
Cc: Jagan Teki; Tom Rini; Simon Glass; Christophe
On 15 February 2016 at 01:27, Christophe Henri RICARD
wrote:
> Hi Jagan,
>
> Sorry for the delay.
>
> Acked-by: Christophe Ricard
Can you please test these 3 and these are on top of your 1/4 and 2/4 patches.
>
> -Original Message-
Compared to previous patch series this series adds spi-nor
core with spi-nor controller drivers are of "mtd uclass"
This is whole series for all spi-nor related changes, and while
series tested on spansion spi-nor chip.
Know issue:
- arch/x86/lib/mrccache.c uses dm_spi_flash_ops, this need to
This is MTD SPI-NOR driver for ST M25Pxx (and similar)
serial flash chips which is written as MTD_UCLASS.
More features will be adding on further patches.
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Some of the SPI device drivers at drivers/spi not a real
spi controllers, Unlike normal/generic SPI controllers they
operates only with SPI-NOR flash devices. these were technically
termed as SPI-NOR controllers, Ex: drivers/spi/fsl_qspi.c
The problem with these were resides at drivers/spi is
This patch adds driver-model probe from cmd_sf through
MTD_DM_SPI_NOR which is depends on MTD and DM_SPI uclass.
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
m25p80 is flash interface for spi-nor core and drivers/spi
so add spi_nor{} functionalities like
- allocate spi_nor{}
- basic initilization
- install hooks
- call to spi-nor core, using spi_nor_scan
- register with mtd core
Cc: Simon Glass
Cc: Bin Meng
Cc:
This patch adds mtd_info support to spi-nor core instead
of using legacy spi_flash{}.
SPI-NOR with MTD:
--
cmd_sf.c
--
MTD core
--
spi-nor.c
While probing spi-nor in SPL spi_flash_probe is needed,
so add the flash probe code in spi-nor-probe.c
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Like adding spi_nor support for dm-driven code in m25p80
add the same way for non-dm code as well.
- allocate spi_nor{}
- basic initilization
- install hooks
- call to spi-nor core, using spi_nor_scan
- register with mtd core
Cc: Simon Glass
Cc: Bin Meng
For computing proper sector_size the below patch
assigned erase_size which is a proper sector
computation size, so this patch directly used
erasesize instead of assignment.
"sf: Fix to compute proper sector_size"
(sha1: c650ca7b4c160193791dc7a52381c71c6a29e871)
Cc: Simon Glass
erasesize name looks similar as the way mtd_info{}
used so renamed erase_size to erasesize and more over
the spi-flash will use mtd in future patches.
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Added kconfig entry for MTD_SPI_NOR
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by: Jagan Teki
---
Since m25p80 follows similar naming convention as Linux,
hence added jedec, spi-nor device tree bindings from Linux.
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad
Added kconfig entry for MTD_SPI_NOR_USE_4K_SECTORS.
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by: Jagan Teki
To sync with size in mtd_info{} this patch change
data type of size to uint64_t
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Renamed SPI_FLASH_BAR to SPI_NOR_BAR
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by: Jagan Teki
---
Since spi_read_then_write moved into spi layer,
the meaning of data transfer is also change from
read_then_write to write_then_read, this means
first spi will write the opcode through and then
read the respective buffer.
Cc: Simon Glass
Cc: Bin Meng
Cc:
spi_flash_t same typedef alias name for spi_flash
and mtd_info so which one will use based on the
user config definition.
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad
Since spi-nor is using mtd layer for flash operations
this patch used mtd ops from user commands instead of
legacy spi_flash{} ops.
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva
Use ascending order while including headers files.
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by: Jagan Teki
Replace spi_flash{} with mtd_info{}
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by: Jagan Teki
---
Replace spi_flash{} with mtd_info{}
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by: Jagan Teki
---
Since spi_read_then_write is doing spi operations like
setting up commands, tx and rx through spi_xfer, So
it is meanfull to have this definition at spi layer and
flash layer should use this whenever required.
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Added kconfig entry for SPI_NOR_BAR
Cc: Simon Glass
Cc: Bin Meng
Cc: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by: Jagan Teki
---
Drop using legacy DM_SPI_FLASH.
Cc: Simon Glass
Cc: Bin Meng
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by: Jagan Teki
---
arch/arm/Kconfig | 1 -
1 file changed, 1
1 - 100 of 163 matches
Mail list logo