Re: [U-Boot] [PATCH] spi: sh_spi: Use sh_spi_clear_bit() instead of open-coded

2013-12-26 Thread Nobuhiro Iwamatsu
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

[U-Boot] [PATCH] spi: sh_spi: Use sh_spi_clear_bit() instead of open-coded

2013-12-26 Thread Axel Lin
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

[U-Boot] [PATCH v3 35/36] Kbuild: check clean source and generate Makefile for out-of-tree build

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 31/36] Makefile: Do not pass MTD_VERSION from the top Makefile

2013-12-26 Thread Masahiro Yamada
$(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

[U-Boot] [PATCH v3 20/36] Kbuild: import more build scripts from Linux v3.12 tag

2013-12-26 Thread Masahiro Yamada
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 ++

[U-Boot] [PATCH v3 29/36] examples: move api/ and standalone/ to examples/Makefile

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 34/36] Kbuild: support simultaneous board configuration and "make all"

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 32/36] Makefile: refactor tools-all targets

2013-12-26 Thread Masahiro Yamada
- 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

[U-Boot] [PATCH v3 13/36] Makefile: refactor include path settings

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 36/36] board: sandburst: delete FORCEBUILD

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 27/36] Makefile: remove a cleaning target "tidy"

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 33/36] Kbuild: use scripts/Makefile.clean

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 30/36] Kbuild: refactor Makefile and spl/Makefile more

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 18/36] Kbuild: add dummy obj-y to create built-in.o

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 26/36] Kbuild: generate {spl, tpl}-autoconf.mk only when it is necessary

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 25/36] Kbuild: move include directives of board configuration files

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 01/36] .gitignore: ingore files generated by Kbuild

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 14/36] Makefile: move more stuff to top Makefile

2013-12-26 Thread Masahiro Yamada
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 @@

[U-Boot] [PATCH v3 02/36] Makefile.host.tmp: add a new script to refactor tools

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 24/36] Kbuild: convert some make rules to Kbuild style

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 03/36] tools: convert makefiles to kbuild style

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 15/36] Makefile: move some flags to spl/Makefile

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 23/36] Kbuild: move some lines to more suitable place

2013-12-26 Thread Masahiro Yamada
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 @@

[U-Boot] [PATCH v3 19/36] Makefile: rename scripts/Makefile.build to scripts/Makefile.build.tmp

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 09/36] Makefile: move BFD_ROOT_DIR to tools/gdb/Makefile

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 28/36] Kbuild: change the top Makefile to more Kbuild-ish structure

2013-12-26 Thread Masahiro Yamada
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. -

[U-Boot] [PATCH v3 16/36] Makefile: move some flags to examples makefiles

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 08/36] Makefile: move some variable definitions to the top Makefile

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 10/36] Kbuild: import Kbuild.include from linux v3.12 tag

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 22/36] Kbuild: delete temporary build scripts

2013-12-26 Thread Masahiro Yamada
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.

[U-Boot] [PATCH v3 05/36] examples: Use scripts/Makefile.build

2013-12-26 Thread Masahiro Yamada
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 ---

[U-Boot] [PATCH v3 12/36] Makefile: move more flags to the top Makefile

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 07/36] Makfile: move suffix rules to Makefile.build

2013-12-26 Thread Masahiro Yamada
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:

[U-Boot] [PATCH v3 06/36] nand-spl: Use scripts/Makefile.build

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 11/36] Kbuild: Use Kbuild.include

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 04/36] board: samsung: refactor host programs

2013-12-26 Thread Masahiro Yamada
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

[U-Boot] [PATCH v3 0/36] Switch over to real Kbuild

2013-12-26 Thread Masahiro Yamada
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

Re: [U-Boot] [PATCH v2] mmc/dwmmc: use bounce buffer for data exchange between CPU and MMC controller

2013-12-26 Thread Jaehoon Chung
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

[U-Boot] [PATCH REPOST3 1/2] ARM: rpi_b: power on SDHCI and USB HW modules

2013-12-26 Thread Stephen Warren
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

[U-Boot] [PATCH REPOST3 2/2] ARM: bcm2835: fix mailbox timeout

2013-12-26 Thread Stephen Warren
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

Re: [U-Boot] [PATCH] bootm: Reinstate special case for standalone images

2013-12-26 Thread Simon Glass
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

[U-Boot] [PATCH v2] bootm: Reinstate special case for standalone images

2013-12-26 Thread Simon Glass
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

Re: [U-Boot] [PATCH 1/3] mtd: onenand: Fix unaligned access

2013-12-26 Thread Rommel G Custodio
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

Re: [U-Boot] [PATCH 1/3] usb: ehci-pci: Clarify and cleanup the EHCI controller detection

2013-12-26 Thread Simon Glass
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

Re: [U-Boot] [PATCH 3/3] usb: ehci: Fix register access

2013-12-26 Thread 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

Re: [U-Boot] [PATCH 2/3] usb: ehci: Do not de-init uninited controllers

2013-12-26 Thread Simon Glass
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 >

Re: [U-Boot] [PATCH 0/8] Secure boot improvements and test on Beaglebone Black

2013-12-26 Thread 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

Re: [U-Boot] post in uboot

2013-12-26 Thread Wolfgang Denk
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

Re: [U-Boot] Stack size

2013-12-26 Thread Wolfgang Denk
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

Re: [U-Boot] Stack size

2013-12-26 Thread Parimala Baggiri
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

[U-Boot] post in uboot

2013-12-26 Thread shobin b
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 _

[U-Boot] [PATCH v2 3/6] mx6: soc: Set the VDDSOC at 1.175 V

2013-12-26 Thread Fabio Estevam
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

[U-Boot] [PATCH v2 4/6] mx6: soc: Introduce set_ldo_voltage()

2013-12-26 Thread Fabio Estevam
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

Re: [U-Boot] [PATCH 6/6] mx6: soc: Disable VDDPU regulator

2013-12-26 Thread Fabio Estevam
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

[U-Boot] [PATCH v2 5/6] mx6: soc: Add the required LDO ramp up delay

2013-12-26 Thread Fabio Estevam
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

[U-Boot] [PATCH v2 2/6] mx6: soc: Clear the LDO ramp values up prior to setting the LDO voltages

2013-12-26 Thread Fabio Estevam
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

[U-Boot] [PATCH v2 6/6] mx6: soc: Disable VDDPU regulator

2013-12-26 Thread Fabio Estevam
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

[U-Boot] [PATCH v2 1/6] mx6: soc: Staticize set_vddsoc()

2013-12-26 Thread Fabio Estevam
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 --

Re: [U-Boot] Stack size

2013-12-26 Thread James Chargin
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

[U-Boot] [PATCH v2] mmc/dwmmc: use bounce buffer for data exchange between CPU and MMC controller

2013-12-26 Thread Alexey Brodkin
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

[U-Boot] [PATCH v5 06/10] sf: Separate the flash params table

2013-12-26 Thread Jagannadha Sutradharudu Teki
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

[U-Boot] [PATCH v5 09/10] sf: Add macronix set QEB support

2013-12-26 Thread Jagannadha Sutradharudu Teki
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

[U-Boot] [PATCH v5 07/10] sf: Add QUAD_IO_FAST read support

2013-12-26 Thread Jagannadha Sutradharudu Teki
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

[U-Boot] [PATCH v5 08/10] sf: Discover read dummy_cycles

2013-12-26 Thread Jagannadha Sutradharudu Teki
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

[U-Boot] [PATCH v5 10/10] sf: params: Enable macronix quad cmds support

2013-12-26 Thread Jagannadha Sutradharudu Teki
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 |

[U-Boot] [PATCH v5 03/10] sf: ops: Add configuration register writing support

2013-12-26 Thread Jagannadha Sutradharudu Teki
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 ++

[U-Boot] [PATCH v5 02/10] sf: Add quad read/write commands support

2013-12-26 Thread Jagannadha Sutradharudu Teki
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 ++

[U-Boot] [PATCH v5 01/10] sf: Add extended read commands support

2013-12-26 Thread Jagannadha Sutradharudu Teki
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

[U-Boot] [PATCH v5 05/10] sf: probe: Enable RD_FULL and WR_QPP

2013-12-26 Thread Jagannadha Sutradharudu Teki
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

[U-Boot] [PATCH v5 04/10] sf: Set quad enable bit support

2013-12-26 Thread Jagannadha Sutradharudu Teki
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

[U-Boot] [PATCH v5 00/10] sf: Add Extended read and quad read/write commands support

2013-12-26 Thread Jagannadha Sutradharudu Teki
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

Re: [U-Boot] [PATCH v2] socfpga/dwmmc: Adding DesignWare MMC driver support for SOCFPGA

2013-12-26 Thread Wolfgang Denk
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

Re: [U-Boot] [PATCH] board:trats2: fix default partitions and mmc env

2013-12-26 Thread Jaehoon Chung
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