Hi,
Thanks for your patch.
2013/12/27 Axel Lin :
> We have a sh_spi_clear_bit() function, there's no reason not to use it.
>
> Signed-off-by: Axel Lin
Acked-by: Nobuhiro Iwamatsu
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
We have a sh_spi_clear_bit() function, there's no reason not to use it.
Signed-off-by: Axel Lin
---
drivers/spi/sh_spi.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/spi/sh_spi.c b/drivers/spi/sh_spi.c
index 744afe3..7ca5e36 100644
--- a/drivers/spi/sh_s
For out-of-tree build
- Check if the source tree is clean
- Create a Makefile in the output directory
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2:
- Newly added
Makefile | 63 +--
1 file changed, 57 inse
$(MTD_VERSION) is used in tools/env/Makefile
If you specify a variable at a command line like:
$ make MTD_VERSION=old env
or specify it thru an envrionment variable like:
$ export MTD_VERSION=old
$ make env
it is inherited to the sub-make too.
We do not need to pass it from the top Makefile
This commit imports build scripts from Linux Kernel v3.12
as they are.
I know they include some trailing spaces
but I keep intentionally them untouched.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
scripts/Makefile.build | 479 ++
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
Makefile | 5 +
examples/Makefile| 9 +
examples/api/Makefile| 4
examples/standalone/Makefile | 4
4 files changed, 10 insertions(+), 12 deletions(-)
create
This commit fixes two problems:
[1] We could not do board configuration and "make all"
in one command line.
For example, the following did not work as we expect:
$ make sandbox_config all
Configuring for sandbox board...
make: Nothing to be done for `all'.
[2] mixed-target build did no
- Move "easylogo", "env", "gdb" tagets to tools/Makefile
- Delete "gdbtools" target (same as "gdb")
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
Makefile | 7 +--
tools/Makefile | 6 +-
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a
This commit merges commonly-used header include paths
to UBOOTINCLUDE and NOSTDINC_FLAGS variables, which are placed
at the top Makefile.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
Makefile | 14 +-
config.mk | 11 ++-
tool
We had switched to Kbuild, so we do not need to
delete sandburst board files at every build.
U-Boot conventional build system did not check the
update of command line option, -DBUILDUSER.
Kbuild can handle it nicely and re-builds object files
when command line options are changed.
(The file ".*.c
Before this commit, "make tidy" did
"make clean" + delete "*.depend*" files.
But, we do not have "*.depend*" files any more,
which means "make tidy" is the same as "make clean".
This commit removes the redandant target "tidy".
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v
This commit refactors cleaning targets such as
clean, clobber, mrpropper, distclean
with scripts/Makefile.clean.
By using scripts/Makefile.clean, we can recursively descend
into subdirectories and delete generated files there.
We do not need add a big list of generated files
to the "clean" target
This commit refactors rules of directory descending
and defines u-boot-dirs and u-boot-all-dirs.
(We will need u-boot-all-dirs when using
scripts/Makefile.clean)
Additionally, rename LIBS-y to libs-y.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
Makefile | 16
We are going to switch over to Kbuild in upcoming commits.
Each makefile must have non-empty obj- or obj-y
to generate built-in.o on Kbuild.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
arch/arm/cpu/armv7/tegra114/Makefile | 3 ++-
arch/arm/cpu/armv7/tegra30/Make
Before this commit, {spl,tpl}-autoconf.mk was always generated
at the top Makefile even if SPL(TPL) build was not selected.
This commit moves the build rule of {spl,tpl}-autoconf.mk
from the top Makefile to spl/Makefile.
It prevents unnecessary {spl,tpl}-autoconf.mk from being
generated.
Signed-o
This commit changes the location of include directives
of board configuration files.
The purpose of this change is:
- Slim down $(TOPDIR)/config.mk
- Prevent $(TOPDIR)/Makefile from including the same
configuration file twice
- Do not include include/config.mk multiple times
because ARC
Ignore generated files by Kbuild such as .*.cmd, *.order, etc.
Besides above,
- Ignore *.s files
We do not need to ignore with file name, asm-offsets.s
- Do not ignore *.rej (for quilt)
- Ignore backup files, \#*#
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2:
- Do
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
Makefile | 20 +---
config.mk | 19 +--
2 files changed, 18 insertions(+), 21 deletions(-)
diff --git a/Makefile b/Makefile
index 1523f12..18bcbab 100644
--- a/Makefile
+++ b/Makefile
@@
This commit adds scripts/Makefile.host.tmp which will
be used in the next commit to convert makefiles
under tools/ directory to Kbuild style.
Notice this script, scripts/Makefile.host.tmp
is temporary.
When switching over to real Kbuild,
it will be replaced with scripts/Makefile.host of Linux Ker
We can get Kbuild-ish log style like this:
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
We do not need XECHO any more.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
Makefile | 70
Before this commit, makefiles under tools/ directory
were implemented with their own way.
This commit refactors them by using "hostprogs-y" variable.
Several C sources have been added to wrap other C sources
to simplify Makefile.
For example, tools/crc32.c includes lib/crc32.c
Signed-off-by: Mas
Some flags are used for SPL (and TPL) build only.
This commit moves them from config.mk to spl/Makefile.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
config.mk| 19 ---
spl/Makefile | 14 ++
2 files changed, 14 insertions(+), 19 del
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
Makefile | 57 +
1 file changed, 29 insertions(+), 28 deletions(-)
diff --git a/Makefile b/Makefile
index 7200cb0..8e50a97 100644
--- a/Makefile
+++ b/Makefile
@@
Some build scripts including scripts/Makefile.build
will be imported from Linux Kernel in the next commit.
We need to adjust them for U-Boot in the following commits.
To make it easier for reviewers to track the modification,
this commit renames scripts/Makefile.build to
scripts/Makefile.build.tmp
BFD_ROOT_DIR is used only in tools/gdb/Makefile
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
config.mk | 23 ---
tools/gdb/Makefile | 21 +
2 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/config.mk
This commit changes the top Makefile to handle various targets
nicely.
Make targets are divided into four categories:
- mixed-targets
We can call a configuration target and build targets
at one command line like follows:
$ make _config u-boot
They are handled one by one.
-
This commit moves some flags which are used
under examples/ directory only.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
config.mk| 8
examples/api/Makefile| 4
examples/standalone/Makefile | 4
3 files changed, 8 ins
This commit moves some variable definitions from config.mk
to the top Makefile:
- HOSTCC, HOSTCFLAGS, HOSTLDFLAGS
- AS, LD, CC, CPP, etc.
- SHELL (renamed to CONFIG_SHELL)
I'd like to slim down config.mk file
because it is included from all recursive make.
It is redundant to re-define the v
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
scripts/Kbuild.include | 278 +
1 file changed, 278 insertions(+)
create mode 100644 scripts/Kbuild.include
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
n
We had switched to Kbuild.
We do not need old build scripts any more.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
rules.mk | 47 -
scripts/Makefile.build.tmp | 127 -
scripts/Makefile.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
Makefile | 5 +
examples/api/Makefile| 21 +---
examples/standalone/Makefile | 46 ++--
scripts/Makefile.build | 7 ---
Before this commit, most of compiler flags were defined in config.mk.
But it is redundant because config.mk is included from all recursive make.
This commit moves many complier flags to the top Makefile
and export them.
And we use new vaiarables to store them:
KBUILD_CPPFLAGS, KBUILD_CFLAGS, KBUIL
This commit moves suffix rules from config.mk
to scripts/Makefile.build, which will allow us
to switch smoothly to real Kbuild.
Note1:
post/lib_powerpc/fpu/Makefile has
its own rule to compile C sources.
We need to tweak it to keep the same behavior.
Note2:
There are two file2 with the same name:
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
Makefile | 2 +-
nand_spl/board/amcc/acadia/Makefile | 8
nand_spl/board/amcc/bamboo/Makefile | 8
nand_spl/board/amcc/canyonlands/Makefile
This commit adjusts some files to use Kbuild.include.
- Use cc-option defined in Kbuild.include
(Delete cc-option in config.mk)
- Use cc-version defined in
(Delete cc-version in config.mk)
- Move binutils-version and dtc-version to Kbuild.include
by analogy to cc-version
This comm
Some Samsung boards have their own tools under board/samsung//tools/.
This commit refactor more makefiles with "hostprogs-y".
Signed-off-by: Masahiro Yamada
---
Note1:
Samsung boards have tools under board/samsung//tools/
and have tools/mkexynosspl.c too.
It is inconsistent, so we should choose
We switched to Kbuild style makefiles at v2014.01-rc1 release.
With that modification, we can write makefiles simpler.
But it is NOT real Kbuild.
As the next step, this series imports (+ adjusts) build scripts
from Linux Kernel under scripts/ directory.
By applying this series, we can get more ad
Hi, Alexey.
Acked-by: Jaehoon Chung
Tested-by: Jaehoon Chung
With Exynos4 board.
Best Regards,
Jaehoon Chung
On 12/26/2013 08:29 PM, Alexey Brodkin wrote:
> Bounce buffer implementation takes care of proper data buffer alignemt
> and correct flush/invalidation of data cache at once so we no l
Send RPC commands to the VideoCore to turn on the SDHCI and USB modules.
For SDHCI this isn't needed in practice, since the firmware already
turned on the power in order to load U-Boot. However, it's best to be
explicit. For USB, this is necessary, since the module isn't powered
otherwise. This wil
My original intention was to have a 100ms timeout. However, the timer
operations used return values in ms not us, so we ended up with a 100s
timeout instead. Fixing this exposes that some operations need longer
to operate than 100ms, so bump the timeout up to a whole second.
Reported-by: Andre Hei
Hi,
On 10 December 2013 07:40, Tom Rini wrote:
> On Tue, Dec 10, 2013 at 06:37:40AM +0100, Michal Simek wrote:
>> On 12/07/2013 12:26 AM, Simon Glass wrote:
>> > For standalone images, bootm had a special case where the OS boot function
>> > was NULL but did actually exist. It was just called man
For standalone images, bootm had a special case where the OS boot function
was NULL but did actually exist. It was just called manually.
This was removed by commit 35fc84fa which checks for the non-existence of
this function before the special case is examined.
There is no obvious reason why stan
Dear Marek Vasut,
Marek Vasut denx.de> writes:
> +/*
> + * Warning! This array is used with the memcpy_16() function, thus
> + * it must be aligned to 2 bytes. GCC can make this array unaligned
> + * as the array is made of unsigned char, which memcpy16() doesn't
> + * like and will cause unalig
On 13 December 2013 21:55, Marek Vasut wrote:
> The detection function of the EHCI PCI controller was really cryptic,
> add a beefy comment and clean the portion of the code up a bit. No
> change in the logic of the code.
>
> Signed-off-by: Marek Vasut
> Cc: Simon Glass
Acked-by: Simon Glass
On 13 December 2013 21:55, Marek Vasut wrote:
>
> Fix the register access in EHCI HCD. We need to use address of the register
> as an ehci_writel() argument.
>
> Signed-off-by: Marek Vasut
> Cc: Simon Glass
Acked-by: Simon Glass
> ---
> drivers/usb/host/ehci-hcd.c | 2 +-
> 1 file changed, 1
On 13 December 2013 21:55, Marek Vasut wrote:
> In case the controller is not initialized, we shall not de-initialize it.
> As the control structure will not be filled, we will produce a null ptr
> dereference if the controller is not inited.
>
> Signed-off-by: Marek Vasut
> Cc: Simon Glass
>
Hi Tom,
On 20 December 2013 11:59, Tom Rini wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 12/06/2013 06:36 PM, Simon Glass wrote:
> > Hi Tom,
> >
> > On 2 October 2013 08:44, Simon Glass wrote:
> >> This series adds a few improvements to the image signing feature to
> >> make
Dear shobin b,
In message
you wrote:
>
> How can i enable post in uboot for arm.Now currently in my uboot ,in post
> folder there is only support for ppc,mpc like that only, no support for
> arm.How to do post for arm.I am using colibri_t20(toradex) with iris
> carrier board.Please give me a s
Dear Parimala Baggiri,
please stop top-posting / full-quoting. Thanks.
In message
you wrote:
>
> Thank you for the reply.
> Could you please clarify me the following things about u-boot?
> To add more system RAM where should I change and whether it is SDRAM or
> SRAM?
I wrote: system RAM. On
Hello Wolfgang Denk,
Thank you for the reply.
Could you please clarify me the following things about u-boot?
To add more system RAM where should I change and whether it is SDRAM or
SRAM?
I am using panda es board(omap4460), whose SDRAM starts at 0x8000,
after the boot, u-boot relocates to 0x80
Hi,
How can i enable post in uboot for arm.Now currently in my uboot ,in post
folder there is only support for ppc,mpc like that only, no support for
arm.How to do post for arm.I am using colibri_t20(toradex) with iris
carrier board.Please give me a solution.
regards,
shobin.b
_
From: Fabio Estevam
mx6 datasheet specifies that the minimum VDDSOC at 792 MHz is 1.15 V.
Add a 25 mV margin and set it to 1.175V.
This also matches the VDDSOC voltages for 792MHz operation that the kernel
configures:
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mac
From: Fabio Estevam
Introduce set_ldo_voltage() so that all three LDO regulators can be configured.
Signed-off-by: Fabio Estevam
---
Changes since v1:
- None
arch/arm/cpu/armv7/mx6/soc.c | 33 ++---
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/arc
On Tue, Dec 24, 2013 at 1:30 PM, ranjani.vaidyanat...@freescale.com
wrote:
> Hi Fabio,
>
> The PU power-up/power-down sequence has specific steps, includes some clock
> management. Please refer to the kernel code for the sequence.
Thanks for the review, Ranjani.
Just sent v2 that disables vddpu
From: Fabio Estevam
When changing LDO voltages we need to wait for the required amount of time
for the voltage to settle.
Also, as the timer is still not available when arch_cpu_init() is called, we
need to call it later at board_postclk_init() phase.
Signed-off-by: Fabio Estevam
---
Changes s
From: Fabio Estevam
Since ROM may modify the LDO ramp up time according to fuse setting,
it is safer to reset the ramp up field to its default value of 00:
00: 64 cycles of 24MHz clock;
01: 128 cycles of 24MHz clock;
02: 256 cycles of 24MHz clock;
03: 512 cycles of 24MHz clock;
Signed-off-by: A
From: Fabio Estevam
As U-boot does not use GPU/VPU peripherals, shutdown the VDDPU regulator
in order to save power.
Signed-off-by: Anson Huang
Signed-off-by: Jason Liu
Signed-off-by: Fabio Estevam
---
Changes since v1:
- Disable vddpu the same way as in kernel
arch/arm/cpu/armv7/mx6/soc.c
From: Fabio Estevam
set_vddsoc() is not used anywhere else, so make it static.
Signed-off-by: Fabio Estevam
---
Changes since v1:
- None
arch/arm/cpu/armv7/mx6/soc.c | 2 +-
arch/arm/include/asm/arch-mx6/sys_proto.h | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --
Dear Parimala Baggiri,
To add a bit of context to Wolfgang Denk's reply...
I work with Freescale e300 and e500 SOCs, other processors may do things
a bit differently.
U-Boot places several things in very high RAM. leaving the lower areas
of RAM available for loading the OS and/or application
Bounce buffer implementation takes care of proper data buffer alignemt
and correct flush/invalidation of data cache at once so we no longer
depend on input data variety and make sure CPU and MMC controller deal
with expected data in case of enabled data cache.
Bounce buffer requires to add its def
Moved the flash params table from sf_probe.c and
placed on to sf_params.c, hence flash params file will
alter based on new addons.
Signed-off-by: Jagannadha Sutradharudu Teki
---
drivers/mtd/spi/Makefile| 4 +-
drivers/mtd/spi/sf_params.c | 130 +++
driv
This patch adds set QEB support for macronix flash devices
which are trying to program/read quad operations.
Signed-off-by: Jagannadha Sutradharudu Teki
---
drivers/mtd/spi/sf_internal.h | 5 +
drivers/mtd/spi/sf_ops.c | 26 ++
drivers/mtd/spi/sf_probe.c| 4
This patch adds support QUAD_IO_FAST read command.
Signed-off-by: Jagannadha Sutradharudu Teki
---
drivers/mtd/spi/sf_internal.h | 1 +
drivers/mtd/spi/sf_probe.c| 2 ++
include/spi.h | 4 +++-
include/spi_flash.h | 3 ++-
4 files changed, 8 insertions(+), 2 deletio
Discovered the read dummy_cycles based on the configured
read command.
Signed-off-by: Jagannadha Sutradharudu Teki
---
drivers/mtd/spi/sf_internal.h | 2 ++
drivers/mtd/spi/sf_ops.c | 10 ++
drivers/mtd/spi/sf_probe.c| 12
include/spi_flash.h | 2 ++
4 f
Added macronix flash quad read/write commands support and
it's up to the respective controller driver usecase to
configure the respective commands by defining SPI RX/TX
operation modes from include/spi.h on the driver.
Signed-off-by: Jagannadha Sutradharudu Teki
---
drivers/mtd/spi/sf_params.c |
This patch provides support to program a flash config register.
Configuration register contains the control bits used to configure
the different configurations and security features of a device.
Signed-off-by: Jagannadha Sutradharudu Teki
---
drivers/mtd/spi/sf_ops.c | 24 ++
This patch add quad commands support like
- QUAD_PAGE_PROGRAM => for write program
- QUAD_OUTPUT_FAST ->> for read program
Signed-off-by: Jagannadha Sutradharudu Teki
---
drivers/mtd/spi/sf_internal.h | 2 +
drivers/mtd/spi/sf_ops.c | 2 +-
drivers/mtd/spi/sf_probe.c| 178 ++
Current sf uses FAST_READ command, this patch adds support to
use the different/extended read command.
This implementation will determine the fastest command by taking
the supported commands from the flash and the controller, controller
is always been a priority.
Signed-off-by: Jagannadha Sutradh
This patch enabled RD_FULL and WR_QPP for supported flashes
in micron, winbond and spansion.
Remaining parts will be add in future patches.
Signed-off-by: Jagannadha Sutradharudu Teki
---
drivers/mtd/spi/sf_probe.c | 60 +++---
1 file changed, 30 insertio
This patch provides support to set the quad enable bit on flash.
quad enable bit needs to set before performing any quad IO
operations on respective SPI flashes.
Currently added set quad enable bit for winbond and spansion flash
devices. stmicro flash doesn't require to set as qeb is volatile.
r
This a suffix series for
http://u-boot.10912.n7.nabble.com/PATCH-v4-00-36-sf-Add-common-probe-and-extended-quad-read-write-cmds-support-td163949.html
for adding extended read and quad read/write commands support.
Concept:
"Implementation will discover the fastest command by taking the supported
c
Dear Chin Liang See,
PLease fix your address list. There is no such address as
"a...@denx.de".
In message <1387386987-3581-1-git-send-email-cl...@altera.com> you wrote:
> To add the DesignWare MMC driver support for Altera SOCFPGA. It
> required information such as clocks and bus width from plat
Hi, Piotr.
On 12/19/2013 11:09 PM, Piotr Wilczek wrote:
> This patch add uuid disk to defualt partions necessary to
> restore gpt partitions and fixes mmcdev environmental variable.
>
> Signed-off-by: Piotr Wilczek
> Signed-off-by: Kyungmin Park
> ---
> include/configs/trats2.h |3 ++-
> 1
73 matches
Mail list logo