On 26/12/12 15:13, Minkyu Kang wrote:
> From: Chander Kashyap
>
> This patch populates base addresses of Exynos4x12 registers.
>
> Signed-off-by: Chander Kashyap
> Signed-off-by: Minkyu Kang
> ---
> Changes since v2:
> - rebased, add SPI and I2S addresses.
>
> arch/arm/include/asm/arch
On 26/12/12 15:13, Minkyu Kang wrote:
> From: Chander Kashyap
>
> This patch adds clock structure for Exynos4x12.
>
> Signed-off-by: Chander Kashyap
> Signed-off-by: Minkyu Kang
> ---
> Changes since v2:
> - None
>
> arch/arm/include/asm/arch-exynos/clock.h | 276
> ++
On 26/12/12 15:13, Minkyu Kang wrote:
> From: Chander Kashyap
>
> This patch adds gpio structure for Exynos4x12.
>
> Signed-off-by: Chander Kashyap
> Signed-off-by: Minkyu Kang
> ---
> Changes since v2:
> - None
>
> arch/arm/include/asm/arch-exynos/gpio.h | 85
>
On 11/12/12 19:52, Hatim Ali wrote:
> This patch series enables the DT support on SMDK5250.
> Ethernet is the first driver whose discovery is based on DT node.
> More DT based drivers to be added subsequently
>
> Changes since v1:
> - Renamed the smdk5250.h file to exynos5250-dt.h to create
On 25/12/2012 21:20, Fabio Estevam wrote:
> From: Fabio Estevam
>
> Select CONFIG_OF_LIBFDT, so that a dt kernel can be launched.
>
> Signed-off-by: Fabio Estevam
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
===
On 21/12/2012 17:59, Otavio Salvador wrote:
> For a generic environment, we shouldn't have a fixed rootfs filesystem
> so we drop it from env.
>
> Signed-off-by: Otavio Salvador
> ---
Hi Otavio,
> include/configs/mx28evk.h |7 ++-
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
>
On 21/12/2012 17:59, Otavio Salvador wrote:
> For a generic environment, we shouldn't have a fixed rootfs filesystem
> so we drop it from env.
>
> Signed-off-by: Otavio Salvador
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=
On 21/12/2012 17:59, Otavio Salvador wrote:
> This allow use of mainline and Freescale BSP Linux kernel with same
> environment.
>
> Signed-off-by: Otavio Salvador
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
On 21/12/2012 17:59, Otavio Salvador wrote:
> This allow use of mainline and Freescale BSP Linux kernel with same
> environment.
>
> Signed-off-by: Otavio Salvador
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
===
On 21/12/2012 17:59, Otavio Salvador wrote:
> This allow use of mainline and Freescale BSP Linux kernel with same
> environment.
>
> Signed-off-by: Otavio Salvador
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
===
On 21/12/2012 17:59, Otavio Salvador wrote:
> Signed-off-by: Otavio Salvador
> ---
Hi Otavio,
> include/configs/mx28evk.h | 15 +--
> 1 file changed, 13 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
> index 3cc0726..5c1c052 1
On 21/12/2012 17:59, Otavio Salvador wrote:
> Signed-off-by: Otavio Salvador
> ---
> include/configs/mx53loco.h | 15 +--
> 1 file changed, 13 insertions(+), 2 deletions(-)
>
Hi Otavio,
> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
> index 4cfdc0b..505957
Thanks for applying.
On 26 December 2012 15:37, Minkyu Kang wrote:
> On 26/12/12 15:13, Minkyu Kang wrote:
>> From: Chander Kashyap
>>
>> This patch populates base addresses of Exynos4x12 registers.
>>
>> Signed-off-by: Chander Kashyap
>> Signed-off-by: Minkyu Kang
>> ---
>> Changes since v2:
Dear Javier,
In message
you wrote:
>
> I think this change makes sense not only to be consistent with the
> OMAP3 Beagle board boot sequence but also to make it easier for
> developers to modify U-Boot environment variables.
I wasn't aware that Beagle implemented such a change (otherwise I
wou
On Wed, Dec 26, 2012 at 12:40 PM, Wolfgang Denk wrote:
> Dear Javier,
>
Hello Wolfgang,
> In message
> you
> wrote:
>>
>> I think this change makes sense not only to be consistent with the
>> OMAP3 Beagle board boot sequence but also to make it easier for
>> developers to modify U-Boot enviro
Dear Rajeshwari Shinde,
On 14/12/12 20:56, Rajeshwari Shinde wrote:
> Api is added to decode peripheral id based on the interrupt number
> of the peripheral.
>
> Signed-off-by: Rajeshwari Shinde
> Acked-by; Simon Glass
> ---
> Changes in V1:
> -Rebased on latest u-boot-samsung
> arch/arm
Dear Rajeshwari Shinde,
On 14/12/12 20:56, Rajeshwari Shinde wrote:
> Functions added to get the I2C bus number and reset I2C bus using
> FDT node.
>
> Signed-off-by: Rajeshwari Shinde
> Acked-by: Simon Glass
> Acked-by: Heiko Schocher
> ---
> Changes in V1:
> -Rebased on latest u-boot-s
Dear Rajeshwari Shinde,
On 14/12/12 20:56, Rajeshwari Shinde wrote:
> This patch adds FDT support to the SPI driver.
>
> Signed-off-by: Simon Glass
> Signed-off-by: Rajeshwari Shinde
> Acked-by: Simon Glass
> ---
> Changes in V1:
> -Rebased on latest u-boot-samsung
> drivers/spi/exynos_
Dear Rajeshwari Shinde,
On 14/12/12 20:56, Rajeshwari Shinde wrote:
> This patch adds FDT support to the codec.
>
> Signed-off-by: Rajeshwari Shinde
> Acked-by: Simon Glass
> ---
> Changes in V1:
> -Rebased on latest u-boot-samsung
> drivers/sound/wm8994.c | 76
Hi Minkyu Kang,
Thank you for comments.Will correct them
On Wed, Dec 26, 2012 at 5:25 PM, Minkyu Kang wrote:
> Dear Rajeshwari Shinde,
>
> On 14/12/12 20:56, Rajeshwari Shinde wrote:
> > This patch adds FDT support to the codec.
> >
> > Signed-off-by: Rajeshwari Shinde
> > Acked-by: Simon Glas
Hi Minkyu Kang,
Thank you for comments
On Wed, Dec 26, 2012 at 5:24 PM, Minkyu Kang wrote:
> Dear Rajeshwari Shinde,
>
> On 14/12/12 20:56, Rajeshwari Shinde wrote:
> > Api is added to decode peripheral id based on the interrupt number
> > of the peripheral.
> >
> > Signed-off-by: Rajeshwari Sh
Hi Minkyu Kang,
Thank you for comments.Will correct them
On Wed, Dec 26, 2012 at 5:24 PM, Minkyu Kang wrote:
> Dear Rajeshwari Shinde,
>
> On 14/12/12 20:56, Rajeshwari Shinde wrote:
> > Functions added to get the I2C bus number and reset I2C bus using
> > FDT node.
> >
> > Signed-off-by: Rajes
Hi Minkyu Kang,
Thank you for comments.Will correct them.
On Wed, Dec 26, 2012 at 5:24 PM, Minkyu Kang wrote:
> Dear Rajeshwari Shinde,
>
> On 14/12/12 20:56, Rajeshwari Shinde wrote:
> > This patch adds FDT support to the SPI driver.
> >
> > Signed-off-by: Simon Glass
> > Signed-off-by: Rajes
On Sunday, October 7, 2012, Chander Kashyap wrote:
> Adds functions to extract clock frequency of Exynos4x12 IPs.
>
> Signed-off-by: Chander Kashyap >
> ---
> arch/arm/cpu/armv7/exynos/clock.c | 163
> +++--
> 1 file changed, 158 insertions(+), 5 deletions(-)
>
>
Hi Minkyu Kang,
On Wed, Dec 26, 2012 at 5:24 PM, Minkyu Kang wrote:
> Dear Rajeshwari Shinde,
>
> On 14/12/12 20:56, Rajeshwari Shinde wrote:
> > Functions added to get the I2C bus number and reset I2C bus using
> > FDT node.
> >
> > Signed-off-by: Rajeshwari Shinde
> > Acked-by: Simon Glass
>
On Wed, Dec 26, 2012 at 9:31 AM, Stefano Babic wrote:
> Only to remark that this is the correct behavior. The kernel with fdt is
> booted independently if this is wanted or not, but if the fdt file is
> loaded successfully from MMC or network. This can have some drawback
> effects if, for example
On 26 December 2012 21:33, Rajeshwari Birje wrote:
> Hi Minkyu Kang,
>
> On Wed, Dec 26, 2012 at 5:24 PM, Minkyu Kang wrote:
>
> > Dear Rajeshwari Shinde,
> >
> > On 14/12/12 20:56, Rajeshwari Shinde wrote:
> > > Functions added to get the I2C bus number and reset I2C bus using
> > > FDT node.
>
Hello Nikita,
On 12/25/2012 09:56 AM, Nikita Kiryanov wrote:
fyi, I noticed that my board compiled with gcc 4.7.3 from ELDK 5.3 will
trap if the bitmap is not aligned. Aligned is a bit tricky though
since the
bitmap has the signature, e.g. "BM" prepended and is thereafter 32 bit
aligned (or
Robert,
On Thu, Dec 20, 2012 at 8:04 PM, Robert Nelson wrote:
> Hi Fabio,
>
> It looks like we need one more fixup after commit c73368150 on the
> first run/older (non R, Dialog, bug wired extra Capacitor) version of
> this board.. Do you happen to have any in your lab?
>
> U-Boot 2013.01-rc2-d
On Wed, Dec 26, 2012 at 1:02 PM, Fabio Estevam wrote:
> With the new PMIC framework: is it safe to call the PMIC API from
> board_init function?
Calling it from board_late_init fixes the issue for me.
Will send the patch soon.
Regards,
Fabio Estevam
___
Robert,
On Wed, Dec 26, 2012 at 1:07 PM, Fabio Estevam wrote:
> On Wed, Dec 26, 2012 at 1:02 PM, Fabio Estevam wrote:
>
>> With the new PMIC framework: is it safe to call the PMIC API from
>> board_init function?
>
> Calling it from board_late_init fixes the issue for me.
>
> Will send the patch
Hi,
On Wed, Dec 26, 2012 at 4:00 AM, Rajeshwari Birje
wrote:
> Hi Minkyu Kang,
>
> Thank you for comments
>
> On Wed, Dec 26, 2012 at 5:24 PM, Minkyu Kang wrote:
>
>> Dear Rajeshwari Shinde,
>>
>> On 14/12/12 20:56, Rajeshwari Shinde wrote:
>> > Api is added to decode peripheral id based on the
On Wed, Dec 26, 2012 at 1:51 PM, Robert Nelson wrote:
> Interesting, I'm still only getting this far on the old Dialog board..
>
> U-Boot 2013.01-rc2-00173-gd781d95-dirty (Dec 26 2012 - 09:42:43)
>
> Board: MX53 LOCO
> I2C: ready
> DRAM: 1 GiB
I tested with 2 mx53loco boards here: one with FS
From: Fabio Estevam
Since commit c733681 (pmic: Extend PMIC framework to support multiple instances
of PMIC devices) mx53loco fails to allocate the memory for PMIC:
U-Boot 2013.01-rc2-dirty (Dec 20 2012 - 15:55:01)
Board: MX53 LOCO
I2C: ready
DRAM: 1 GiB
pmic_alloc: No available memory for
Hi Fabio,
On Wed, Dec 26, 2012 at 9:21 AM, Fabio Estevam wrote:
> Robert,
>
> On Wed, Dec 26, 2012 at 1:07 PM, Fabio Estevam wrote:
>> On Wed, Dec 26, 2012 at 1:02 PM, Fabio Estevam wrote:
>>
>>> With the new PMIC framework: is it safe to call the PMIC API from
>>> board_init function?
>>
>> Ca
On Wed, Dec 26, 2012 at 9:54 AM, Fabio Estevam wrote:
> On Wed, Dec 26, 2012 at 1:51 PM, Robert Nelson
> wrote:
>
>> Interesting, I'm still only getting this far on the old Dialog board..
>>
>> U-Boot 2013.01-rc2-00173-gd781d95-dirty (Dec 26 2012 - 09:42:43)
>>
>> Board: MX53 LOCO
>> I2C: read
On Wed, Dec 26, 2012 at 2:04 PM, Robert Nelson wrote:
> Okay, good to hear it works with the Dialog PMIC you have, as that
> should cover a majority of the Dialog based boards customers actually
> have. As the one I have here was one of the very first ones and i know
> something changed later in
On Wed, Dec 26, 2012 at 10:50 AM, Fabio Estevam wrote:
> On Wed, Dec 26, 2012 at 2:04 PM, Robert Nelson
> wrote:
>
>> Okay, good to hear it works with the Dialog PMIC you have, as that
>> should cover a majority of the Dialog based boards customers actually
>> have. As the one I have here was on
On Wed, Dec 26, 2012 at 3:08 PM, Robert Nelson wrote:
> I'll keep debugging it here, did reverting this commit, help with the resets?
> http://git.denx.de/?p=u-boot.git;a=commit;h=28e5ac2d974547bde0c72aa0c1d66fd22c6ef3ad
Tried reverting it and still see the data-aborts.
I am also testing on my
On Wed, Dec 26, 2012 at 11:21 AM, Fabio Estevam wrote:
> On Wed, Dec 26, 2012 at 3:08 PM, Robert Nelson
> wrote:
>
>> I'll keep debugging it here, did reverting this commit, help with the resets?
>> http://git.denx.de/?p=u-boot.git;a=commit;h=28e5ac2d974547bde0c72aa0c1d66fd22c6ef3ad
>
> Tried re
Hi,
On Sat, Dec 15, 2012 at 12:42 PM, Simon Glass wrote:
> This tool handles building U-Boot to check that you have not broken it
> with your patch series. It can build each individual commit and report
> which boards fail on which commits, and which errors come up. It also
> shows differences in
On Wed, Dec 26, 2012 at 10:14 AM, Fabio Estevam wrote:
> On Wed, Dec 26, 2012 at 9:31 AM, Stefano Babic wrote:
>
>> Only to remark that this is the correct behavior. The kernel with fdt is
>> booted independently if this is wanted or not, but if the fdt file is
>> loaded successfully from MMC or
On Wed, Dec 26, 2012 at 9:02 AM, Stefano Babic wrote:
> On 21/12/2012 17:59, Otavio Salvador wrote:
>> For a generic environment, we shouldn't have a fixed rootfs filesystem
>> so we drop it from env.
>>
>> Signed-off-by: Otavio Salvador
>> ---
>
> Hi Otavio,
>
>> include/configs/mx28evk.h |
On Wed, Dec 26, 2012 at 9:15 AM, Stefano Babic wrote:
> On 21/12/2012 17:59, Otavio Salvador wrote:
>> Signed-off-by: Otavio Salvador
>> ---
>
> Hi Otavio,
>
>> include/configs/mx28evk.h | 15 +--
>> 1 file changed, 13 insertions(+), 2 deletions(-)
>>
>> diff --git a/include/config
On Wed, Dec 26, 2012 at 1:13 AM, Marek Vasut wrote:
> Dear Otavio Salvador,
>
>> On Tue, Dec 25, 2012 at 11:08 PM, Marek Vasut wrote:
>> > Adjust the NAND partitioning layout so that there is a separate partition
>> > for the ramdisk and fdt blob on the NAND.
>> >
>> > Signed-off-by: Marek Vasut
Hi Tom,
These are the two that patchwork somehow missed. They are in there
now, so here is the pull request for those two.
The following changes since commit f8cfcf1b1c7543d5dd103359376a3319301143bc:
env: don't generate callback list entries for SPL (2012-12-22 05:57:16 -0700)
are available
This series aims to get all the memory functions running correctly
on sandbox.
There was some discussion about this a while ago, and a commit was
added to show a possible approach:
355a8357 sandbox: Change md command to use map_physmem
This commit was subsequently reverted because it used map_ph
Sandbox wants to support commands which use memory. The map_sysmen()
call provides this feature, so use this in the memory commands.
Signed-off-by: Simon Glass
---
common/cmd_mem.c | 122 +++---
1 files changed, 79 insertions(+), 43 deletions(-)
From: Taylor Hutt
Implements the tstc() interface for the serial driver. Multiplexing
the console between the serial port and a keyboard uses a polling
method of checking if characters are available; this means that the
serial console must be non-blocking when attempting to read
characters.
Sig
This config effectively has a default value of 0, so add this setting
at the top of the code to remove an #ifdef in the C function.
Signed-off-by: Simon Glass
---
common/cmd_mem.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
Half of the code is currently hidden behind an #ifdef. Move the two
memory tests into their own functions and use the compiler to eliminate
the unused code.
Signed-off-by: Simon Glass
---
common/cmd_mem.c | 217 +-
1 files changed, 116 inserti
The buffer cannot be changed by this function, so change the buffer
pointer to a const. This allows callers with const pointer to use the
function without a cast.
Signed-off-by: Simon Glass
---
include/common.h |3 ++-
lib/display_options.c |3 ++-
2 files changed, 4 insertions(+),
The iteration code is the same for each version of the memory test, so
pull it out into the common function.
Signed-off-by: Simon Glass
---
common/cmd_mem.c | 123 ++
1 files changed, 59 insertions(+), 64 deletions(-)
diff --git a/common/cmd_
We might as well use this common function instead of repeating the same
code.
Signed-off-by: Simon Glass
---
common/cmd_fdt.c| 11 ++-
common/cmd_nvedit.c |8
include/common.h| 14 +-
3 files changed, 19 insertions(+), 14 deletions(-)
diff --git a/co
Use map_sysmem() so that hashing is possible on sandbox.
Signed-off-by: Simon Glass
---
common/hash.c | 25 +
1 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/common/hash.c b/common/hash.c
index e92b4b1..2e0a67b 100644
--- a/common/hash.c
+++ b/common/has
There are two problems:
1. The argument count needs to be checked before argv is used
2. When verify is not enabled, we need to define a constant zero value
Signed-off-by: Simon Glass
---
common/cmd_hash.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/common/cmd_ha
Use setenv_ulong(), setenv_hex() and setenv_addr() in common/
Signed-off-by: Simon Glass
---
common/cmd_bootm.c| 11 +++
common/cmd_cbfs.c |4 +---
common/cmd_cramfs.c |4 +---
common/cmd_fdos.c |4 +---
common/cmd_jffs2.c|4 +---
common/cmd_load.c
Use a ulong for the command arguments, and only cast to an address when
needed. This fixes warnings in sandbox where pointers are typically 64 bits
long.
Signed-off-by: Simon Glass
---
common/cmd_mem.c | 30 ++
1 files changed, 18 insertions(+), 12 deletions(-)
dif
If we get a Ctrl-C abort, we always print a newline. Move this repeated
code out of the functions and into a single place in the caller.
Signed-off-by: Simon Glass
---
common/cmd_mem.c | 32 +---
1 files changed, 9 insertions(+), 23 deletions(-)
diff --git a/common
Use setenv_hex() and setenv_addr() in net/
Signed-off-by: Simon Glass
---
drivers/net/fm/fm.c |4 +---
net/net.c |8 ++--
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/net/fm/fm.c b/drivers/net/fm/fm.c
index 49c74c2..8d70586 100644
--- a/drivers/net
Use setenv_ulong(), setenv_hex() and setenv_addr() in drivers/
Signed-off-by: Simon Glass
---
fs/fs.c |4 +---
fs/ubifs/ubifs.c |4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/fs/fs.c b/fs/fs.c
index 023e7ef..2c9f2c5 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@
Sandbox doesn't actually provide U-Boot access to the machine's physical
memory. Instead it provides a RAM buffer of configurable size, and all
memory accesses are within that buffer. Sandbox memory starts at 0 and
is CONFIG_DRAM_SIZE bytes in size. Allowing access outside this buffer
might produce
Add the CRC32 algorithm to the list of available hashes, and make
the crc32 command use hash_command(). Add a new crc32_wd_buf() to
make this possible, which puts its result in a buffer rather than
returning it as a 32-bit value.
Signed-off-by: Simon Glass
---
common/cmd_mem.c | 73 ---
Some of the inner loops are not indented correctly. Fix this.
Signed-off-by: Simon Glass
---
common/cmd_mem.c | 324 +++---
1 files changed, 162 insertions(+), 162 deletions(-)
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 41c1e70..648f9
Enable the hash command and sha1/256 hashing for sandbox. Also use a
better address for memory testing (since the existing one is set up
for linux host memory space).
Signed-off-by: Simon Glass
---
include/configs/sandbox.h |9 +++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff
We have an existing header which the crc32 definitions, so use it.
Signed-off-by: Simon Glass
---
common/image.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/image.c b/common/image.c
index 95498e6..936b08c 100644
--- a/common/image.c
+++ b/common/image.c
@@
Use map_sysmem() in the memory tester so that it works as expected on
sandbox.
Signed-off-by: Simon Glass
---
common/cmd_mem.c | 97 +-
1 files changed, 52 insertions(+), 45 deletions(-)
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index
This series adds support for filesystems to sandbox. While we don't yet have
access to host machine block devices, we can access files on the host through
a new 'host' filesystem type and the new sandbox command 'sb'.
For example:
sb load host 0 1000 foo.bar
will load foo.bar from the host into
There is a structure in fs.c with just a probe method. By adding methods
for other operations, we can avoid lots of #ifdefs and switch()s. As a
first step, create the structure ready for use.
Signed-off-by: Simon Glass
---
fs/fs.c | 56 +++-
This implementation uses opendir()/readdir() to access the directory
information and then puts it in a linked list for the caller's use.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/os.c | 101 +
include/os.h | 48 +++
It doesn't make a lot of sense to have these methods in fs.c. They are
filesystem-specific, not generic code. Add each to the relevant
filesystem and remove the associated #ifdefs in fs.c.
Signed-off-by: Simon Glass
---
fs/ext4/ext4fs.c | 37 +
fs/fat/fat.c | 17
Rather than rely on global variables for the probe functions, pass in
the information that we need filled in. This allows us to potentially
keep the variables private to fs.c in the future, and the meaning of
the probe function is clearer.
Signed-off-by: Simon Glass
---
fs/fs.c | 20 ++
This allows us to use filesystems on sandbox. It has no effect on other
architectures.
Signed-off-by: Simon Glass
---
fs/fs.c | 23 +++
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/fs/fs.c b/fs/fs.c
index 3561727..0cbec99 100644
--- a/fs/fs.c
+++ b/fs/fs.
This allows reading of files from the host filesystem in sandbox.
Signed-off-by: Simon Glass
---
Makefile |1 +
disk/part.c| 17 ++
fs/fs.c| 10 ++
fs/sandbox/Makefile| 47 +++
fs/sandbox/sandboxfs.c |
We can use the available methods and avoid using switch(). When the
filesystem is not supported, we fall through to the 'unsupported'
methods: fs_probe_unsupported() prints an error, so the others do
not need to.
Signed-off-by: Simon Glass
---
fs/fs.c | 60 ++---
The new 'sb' command is intended to deal with sandbox-specific features
that have no parallel in other archs. This commit adds two sub-commands
to list a directory and read a file from the host filesystem.
Signed-off-by: Simon Glass
---
README |1 +
common/Makefile
These are useful for build-testing code, at least.
Signed-off-by: Simon Glass
---
include/configs/sandbox.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 9f51a0b..2a45c7b 100644
--- a/include/configs/san
The 'sb' command allows loading files from the host, and listing
directories.
Signed-off-by: Simon Glass
---
include/configs/sandbox.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 2a45c7b..406da43 100644
---
This code seems to be entirely othogonal, so remove the #ifdef and put
the condition in the Makefile instead.
Signed-off-by: Simon Glass
---
fs/ext4/Makefile |2 +-
fs/ext4/ext4_write.c | 996 ++
fs/ext4/ext4fs.c | 963 ---
Hi Amarendra,
On Thu, Dec 20, 2012 at 5:53 AM, Amarendra Reddy
wrote:
> Hi SImon,
>
> Thanks for the review comments.
> Please find below the responses for your comments.
>
> Thanks & Regards
> Amarendra
>
> On 20 December 2012 08:05, Simon Glass wrote:
>>
>> Hi Amar,
>>
>> On Mon, Dec 17, 2012
Hi,
On Wed, Dec 19, 2012 at 5:07 PM, Tom Rini wrote:
> On Thu, Dec 20, 2012 at 12:19:24AM +0100, Wolfgang Denk wrote:
>> Dear Tom Rini,
>>
>> In message <20121219225956.GG14589@bill-the-cat> you wrote:
>> >
>> > Applied to u-boot/master, thanks!
>>
>> Please see my comment from a few minutes ago.
Hi Vikram,
On Sun, Dec 23, 2012 at 3:27 AM, Vikram Narayanan wrote:
> bootstage_mark_name calls timer_get_boot_us which inturn calls
> the arch timer. The arch timer uses the gd pointer to save the
> lastinc count. A call to bootstage_mark_name here results in a
> data abort as gd is uninitialize
Hi Albert,
On Sun, Dec 23, 2012 at 7:03 AM, Albert ARIBAUD
wrote:
> Hi Simon,
>
> On Fri, 30 Nov 2012 14:10:01 -0800, Simon Glass
> wrote:
>
>> >> I tried to test it on a snow (exynos5250) but couldn't really sync up
>> >> with our tree, so gave up. I am not completely sure about how the
>> >> C
Dear Simon Glass,
> We have an existing header which the crc32 definitions, so use it.
>
> Signed-off-by: Simon Glass
Looks ok.
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailma
Adding new fields to struct spi_slave and struct spi_flash is painful,
because most drivers don't zero the fields they don't use. Anyway it
seems better to have the SPI/SPI flash infrastructure provide a simple
way of doing this that all drivers can use.
So the first part of this series adds spi_a
Include file support in dtc is still not available in common distributions
so we need to keep our preprocessing arrangement around for a little
longer.
But # is commonly used in FDT files, so use sed instead of cpp for this
preprocessing.
Signed-off-by: Simon Glass
---
dts/Makefile | 10 -
At present it is difficult to extend the SPI structure since all
drivers allocate it themselves, and few of them zero all fields. Add
a new function spi_alloc_slave() which can be used by SPI drivers
to perform this allocation, and thus ensure that all drivers can
better cope with SPI structure cha
It is common to have a "reg = " property in the FDT.
Add a function to handle this, similar to the existing
fdtdec_get_addr();
Signed-off-by: Simon Glass
---
include/fdtdec.h | 15 +++
lib/fdtdec.c | 26 +-
2 files changed, 36 insertions(+), 5 deletion
At present it is difficult to extend the SPI flash structure since
all devices allocate it themselves, and few of them zero all fields.
Add a new function spi_flash_alloc() which can be used by SPI devices
to perform this allocation, and thus ensure that all devices can
better cope with SPI structu
Rather than each driver having its own way to allocate a SPI slave,
use the new allocation function everywhere. This will make it easier
to extend the interface without breaking drivers.
Signed-off-by: Simon Glass
---
drivers/spi/altera_spi.c|4 +---
drivers/spi/andes_spi.c |4 +-
Rather than each device having its own way to allocate a SPI flash
structure, use the new allocation function everywhere. This will make it
easier to extend the interface without breaking devices.
Signed-off-by: Simon Glass
---
drivers/mtd/spi/atmel.c|8 +---
drivers/mtd/spi/eon.c
This SPI controller can only write 64 bytes at a time. Add this restriction
in so that 'sf write' works correct for blocks larger than 64 bytes.
Signed-off-by: Simon Glass
---
drivers/spi/ich.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/spi/ich.c b/drive
Some SPI flash controllers (e.g. Intel ICH) have a limit on the number of
bytes that can be in a write transaction. Support this by breaking the
writes into multiple transactions.
Signed-off-by: Simon Glass
---
drivers/mtd/spi/spi_flash.c | 10 --
1 files changed, 8 insertions(+), 2 de
Add a memory-mapped 8GB SPI chip.
Signed-off-by: Simon Glass
---
board/chromebook-x86/dts/link.dts | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/board/chromebook-x86/dts/link.dts
b/board/chromebook-x86/dts/link.dts
index ae8217d..d0738cb 100644
--- a/board/
Turn on SPI flash support and related commands.
Signed-off-by: Simon Glass
---
include/configs/coreboot.h | 12 +---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index fd383ff..ea92ffe 100644
--- a/include/config
This command is useful for measuring SPI flash load times and the like.
Signed-off-by: Simon Glass
---
include/configs/coreboot.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index ea92ffe..4b6eb73 100644
--- a/i
This supports Intel ICH7/9. The Intel controller is a little unusual in
that it is mostly intended for use with SPI flash, and has some
optimisations and features specifically for that application. In
particular it is not possible to support ongoing transactions that
continue over many calls with S
Some SPI controllers (e.g. Intel ICH) have a limit on the number of SPI
bytes that can be written at a time. Add this as a parameter so that
clients of the SPI interface can respect this value.
Signed-off-by: Simon Glass
---
include/spi.h |3 +++
1 files changed, 3 insertions(+), 0 deletions
Enable device tree control of SPI flash, and use this to implement
memory-mapped SPI flash, which is supported on Intel chips.
Signed-off-by: Simon Glass
---
drivers/mtd/spi/spi_flash.c | 46 ++-
include/fdtdec.h|1 +
include/spi_flash.h
It is possible that our PCI bus will provide the SPI controller, so change
the init order to make this work.
Signed-off-by: Simon Glass
---
arch/x86/lib/board.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c
index 55530
1 - 100 of 121 matches
Mail list logo