Re: [U-Boot] [PATCH 3/4] lib, fdt: move fdtdec_get_int() out of lib/fdtdec.c

2014-05-12 Thread Heiko Schocher
Hello Simon, Am 09.05.2014 21:59, schrieb Simon Glass: Hi Heiko, On 8 May 2014 05:05, Heiko Schocherh...@denx.de wrote: move fdtdec_get_int() out of lib/fdtdec.c into lib/fdtdec_common.c as this function is also used, if CONFIG_OF_CONTROL is not used. Poped up on the ids8313 board using

[U-Boot] [U-boot] himport_r() function question

2014-05-12 Thread TigerLiu
Hi, experts: Set_default_env() function will call himport_r() function. Himport_r() will create hash tables for env variables. But on some very slow software emulator platform, himport_r() run very slowly! So , my question is: Would Himport_r() be omitted in set_default_env() ? Best

Re: [U-Boot] [PATCH 1/4] bootm: allow to disable legacy image format

2014-05-12 Thread Heiko Schocher
Hello Tom, Simon, Wolfgang, Lars, Am 09.05.2014 21:12, schrieb Tom Rini: On Fri, May 09, 2014 at 12:47:44PM -0600, Simon Glass wrote: Hi Wolfgang, On 9 May 2014 07:35, Wolfgang Denkw...@denx.de wrote: Dear Simon, In messageCAPnjgZ1_Cf-eu592YqF0=th7mt1da6gh7pv1lxaf79kv8lw...@mail.gmail.com

[U-Boot] [PATCH] ARM: OMAP: Fix omap_sdram_size calculation

2014-05-12 Thread Lokesh Vutla
Last section of DMM is used for trapping tiler unmapped sections. Corresponding trap_size should be deducted from total SDRAM size only if trap section is overlapping with available SDRAM based on DMM sections. Fixing the same. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com ---

[U-Boot] [PATCH v4] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-12 Thread Lukasz Majewski
Up till now the CRC32 of received data was calculated unconditionally. The standard crc32 implementation causes long delay when large images were uploaded. The dfu_hash_algo environment variable gives the opportunity to disable on demand the hash (crc32) calculation. It can be done without the

[U-Boot] [PATCH 2/2] usb:gadget:f_thor: download_tail(): remove dfu_write with 0 size

2014-05-12 Thread Przemyslaw Marczak
Since dfu_flush() can write raw data, dfu_write() with zero size can be removed from download_tail() in thor gadget. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Heiko Schocher h...@denx.de Cc: Marek Vasut ma...@denx.de ---

[U-Boot] [PATCH 1/2] drivers:dfu: dfu_flush(): add raw data flush to complete dfu write

2014-05-12 Thread Przemyslaw Marczak
Before dfu write and flush operations separation, dfu write data was flushed by host download request with len of zero size. Since above change manually calling dfu write with zero size has non sense (e.g. in THOR). This should be done by flush operation. So now dfu_write_buffer_drain() is called

Re: [U-Boot] Mainline u-boot on socfpga (SocKit) board

2014-05-12 Thread Pavel Machek
Hi! I know that mainline U-Boot SPL is quite far from working on socfpga... but would like to ask, what is the status of U-Boot proper. That should work on socfpga, right? Or are there some pieces missing? I tried commit 173d294b94cfec10063a5be40934d6d8fb7981ce Merge: 33b0f7b

Re: [U-Boot] [PATCH] tools, env, aes: fix compiling env tools for target

2014-05-12 Thread Marek Vasut
On Monday, May 12, 2014 at 07:54:49 AM, Heiko Schocher wrote: compiling env tools for the target leads with current u-boot in following compile error: $ make CROSS_COMPILE=powerpc-linux- env make[1]: *** Keine Regel vorhanden, um das Target »tools/env/aes.c«, benötigt von

[U-Boot] [zynq]: How to boot using u-boot-spl and image.ub?

2014-05-12 Thread Heshsham Abdul Basit
Hi, I found the following log messages running from sd card: [Mon May 12 15:55:57.308 2014] [Mon May 12 15:55:57.308 2014] U-Boot SPL 2014.01 (May 12 2014 - 15:21:20) [Mon May 12 15:55:57.308 2014] mmc boot [Mon May 12 15:55:57.355 2014] reading fpga.bin [Mon May 12 15:55:57.371 2014] spl:

Re: [U-Boot] [PATCH] tools, env, aes: fix compiling env tools for target

2014-05-12 Thread Heiko Schocher
Hello Marek, Am 12.05.2014 13:01, schrieb Marek Vasut: On Monday, May 12, 2014 at 07:54:49 AM, Heiko Schocher wrote: compiling env tools for the target leads with current u-boot in following compile error: $ make CROSS_COMPILE=powerpc-linux- env make[1]: *** Keine Regel vorhanden, um das

Re: [U-Boot] tools: env: Add aes.c placeholder

2014-05-12 Thread Heiko Schocher
Hello Marek, Am 28.04.2014 11:56, schrieb Marek Vasut: Add missing aes.c placeholder which includes lib/aes.c . Without this one, tools/env/ will fail to build. Signed-off-by: Marek Vasutma...@denx.de Cc: Alexey Brodkinalexey.brod...@synopsys.com Cc: Masahiro Yamadayamad...@jp.panasonic.com

Re: [U-Boot] [PATCH 1/3] usb: tegra: fix PHY selection code

2014-05-12 Thread Stefan Agner
Am 2014-04-30 23:09, schrieb Stephen Warren: From: Stephen Warren swar...@nvidia.com The TRM for Tegra30 and later all state that USBMODE_CM_HC must be set before writing to hostpc1_devlc to select which PHY to use for a USB controller. However, neither init_{utmi,ulpi}_usb_controller() do

Re: [U-Boot] Please pull u-boot-x86.git branch 'tom'

2014-05-12 Thread Tom Rini
On Fri, May 09, 2014 at 04:36:01PM -0600, Simon Glass wrote: Hi Tom, This collects together the patches in my queue. I have taken the liberty of also adding 'Make 'run' use run_command_list() instead of run_command()' which is here: http://patchwork.ozlabs.org/patch/286250/ - Simon

[U-Boot] [ANN] U-Boot v2014.07-rc1 released

2014-05-12 Thread Tom Rini
Hey all, I've pushed v2017.04-rc1 out to the repository and tarballs should exist soon. The merge window is now, really, closed. Looking over the diffstat, we've got some new platforms / SoCs and we've got lots of fixups all over the place. Looking over my patchwork TODO list, I see I've let

Re: [U-Boot] [PATCH] mmc: omap_hsmmc: add adma support

2014-05-12 Thread Balaji T K
On Friday 02 May 2014 07:25 PM, Balaji T K wrote: MMC instance 1 and 2 is capable of ADMA in omap4, omap5. Add support for ADMA and enable ADMA for read/write to improve mmc throughput. Hi, Realized I need to git format-patch this patch, Any other comments ? Signed-off-by: Balaji T K

Re: [U-Boot] [ANN] U-Boot v2014.07-rc1 released

2014-05-12 Thread Otavio Salvador
On Mon, May 12, 2014 at 10:12 AM, Tom Rini tr...@ti.com wrote: Hey all, I've pushed v2017.04-rc1 out to the repository and tarballs should exist soon. Back from the Future ;-) -- Otavio Salvador O.S. Systems http://www.ossystems.com.br

Re: [U-Boot] [PATCH] mmc: omap_hsmmc: add adma support

2014-05-12 Thread Tom Rini
On Fri, May 02, 2014 at 07:25:20PM +0530, Balaji T K wrote: MMC instance 1 and 2 is capable of ADMA in omap4, omap5. Add support for ADMA and enable ADMA for read/write to improve mmc throughput. [snip] @@ -44,12 +45,30 @@ #undef OMAP_HSMMC_USE_GPIO #endif +#ifdef CONFIG_SPL_BUILD

Re: [U-Boot] [ANN] U-Boot v2014.07-rc1 released

2014-05-12 Thread Tom Rini
On Mon, May 12, 2014 at 10:26:24AM -0300, Otavio Salvador wrote: On Mon, May 12, 2014 at 10:12 AM, Tom Rini tr...@ti.com wrote: Hey all, I've pushed v2017.04-rc1 out to the repository and tarballs should exist soon. Back from the Future ;-) Ba-dum-bump. Coffee then release emails

Re: [U-Boot] [PATCH] mmc: omap_hsmmc: add adma support

2014-05-12 Thread Balaji T K
On Monday 12 May 2014 06:58 PM, Tom Rini wrote: On Fri, May 02, 2014 at 07:25:20PM +0530, Balaji T K wrote: MMC instance 1 and 2 is capable of ADMA in omap4, omap5. Add support for ADMA and enable ADMA for read/write to improve mmc throughput. [snip] @@ -44,12 +45,30 @@ #undef

Re: [U-Boot] [PATCH v3] dfu: Introduction of the dfu_hash_algo env variable for checksum method setting

2014-05-12 Thread Tom Rini
On Fri, May 09, 2014 at 10:31:54AM +0200, Wolfgang Denk wrote: Dear Lukasz, In message 20140509085203.31133238@amdc2363 you wrote: For automated tests I use MD5 and compare this value before sending data to target via DFU and after I read it. This testing is done purely on HOST

Re: [U-Boot] [PATCH] mmc: omap_hsmmc: add adma support

2014-05-12 Thread Tom Rini
On Mon, May 12, 2014 at 07:12:44PM +0530, Balaji T K wrote: On Monday 12 May 2014 06:58 PM, Tom Rini wrote: On Fri, May 02, 2014 at 07:25:20PM +0530, Balaji T K wrote: MMC instance 1 and 2 is capable of ADMA in omap4, omap5. Add support for ADMA and enable ADMA for read/write to improve mmc

Re: [U-Boot] [PATCH 1/4] bootm: allow to disable legacy image format

2014-05-12 Thread Tom Rini
On Mon, May 12, 2014 at 09:36:54AM +0200, Heiko Schocher wrote: Hello Tom, Simon, Wolfgang, Lars, [snip] Ok, summary for one first step (I can do): - introduce CONFIG_IMAGE_FORMAT_LEGACY based on patch [1] (rename +#if !defined(CONFIG_DISABLE_IMAGE_FORMAT_LEGACY) to +#if

Re: [U-Boot] ARM: zynq: sdhci clock frequency init question

2014-05-12 Thread Krunal Desai
From: Michal Simek [mailto:monstr AT monstr.eu] Sent: Wednesday, May 07, 2014 04:46 To: Krunal Desai; u-boot AT lists.denx.de Subject: Re: [U-Boot] ARM: zynq: sdhci clock frequency init question we didn't test this configuration that's why 52MHz is there as default case. I think that

Re: [U-Boot] [PATCH] fat: Define MAX_CLUSTSIZE only if not defined in config

2014-05-12 Thread Tom Rini
On Fri, Apr 25, 2014 at 03:48:04PM +0200, Michal Simek wrote: From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Define MAX_CLUSTSIZE only if not defined in board specific config file as this size can be decreased to save memory in some memory constrained cases.

[U-Boot] Pull request: u-boot-video/master

2014-05-12 Thread Anatolij Gustschin
Hey Tom, The following changes since commit a405764c1ec835a41ccda943b9156aee25e15d5e: drivers/i2c/fsl_i2c: modify i2c_read to handle multi-byte write (2014-04-29 07:10:58 +0200) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up

Re: [U-Boot] [U-Boot, 2/2] mkimage: Refactor mxsimage to use common crc32 code

2014-05-12 Thread Tom Rini
On Tue, May 06, 2014 at 10:46:46AM +1200, Charles Manning wrote: mxsimage uses the same crc32 function as pblimage. Signed-off-by: Charles Manning cdhmann...@gmail.com Acked-by: Stefano Babic sba...@denx.de This introduces warnings: tools/mxsimage.c: In function ‘sb_build_command_load’:

Re: [U-Boot] [PATCH v2 0/12] Enable LCD display on snow

2014-05-12 Thread Simon Glass
Hi, On 2 April 2014 17:24, Simon Glass s...@chromium.org wrote: This series adds a driver for TPS65090 and plumbs it in to get the LCD working correctly on snow. The display driver is already present, but needs information about the display to be provided in the device tree. The backlight

Re: [U-Boot] [PATCH v12 1/2] S5P: Exynos: Add GPIO pin numbering and rename definitions

2014-05-12 Thread Minkyu Kang
Dear Akshay Saraswat, On 06/05/14 23:36, Akshay Saraswat wrote: This patch includes following changes : * Adds gpio pin numbering support for EXYNOS SOCs. To have consistent 0..n-1 GPIO numbering the banks are divided into different parts where ever they have holes in them. * Rename

Re: [U-Boot] kbuild: Fix trailing whitespaces

2014-05-12 Thread Tom Rini
On Thu, Apr 24, 2014 at 03:24:28PM +0200, Michal Simek wrote: Trivial fix. Signed-off-by: Michal Simek michal.si...@xilinx.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v2] fs: fat: Fix cache align error message in fatwrite

2014-05-12 Thread Tom Rini
On Tue, Apr 08, 2014 at 11:12:46AM +0900, Nobuhiro Iwamatsu wrote: Use of malloc of do_fat_write() causes cache error on ARM v7 platforms. Perhaps, the same problem will occur at any other CPUs. This replaces malloc with memalign to fix cache buffer alignment. Signed-off-by: Nobuhiro

Re: [U-Boot] [U-Boot, RFC] bd_info: remove bi_barudrate member from struct bd_info

2014-05-12 Thread Tom Rini
On Fri, Apr 04, 2014 at 08:09:58PM +0900, Masahiro Yamada wrote: gd-bd-bi_baudrate is a copy of gd-baudrate. Since baudrate is a common feature for all architectures, keep gd-baudrate only. It is true that bi_baudrate was passed to the kernel in that structure but it was a long time ago.

Re: [U-Boot] AR8035/phy: Enable autonegotiation function for ar8035

2014-05-12 Thread Tom Rini
On Fri, Apr 11, 2014 at 04:03:11PM +0800, Xiaobo Xie wrote: Function genphy_parse_link() used if (mii_reg BMSR_ANEGCAPABLE) before, but used if (phydev-supported SUPPORTED_Autoneg) now. So assign phydev-supported to phydev-drv-features for ar8035 to enable autonegotiation. Then removed the

Re: [U-Boot] [U-Boot, v2, 3/5] blackfin: replace bfin_gen_rand_mac() with eth_random_addr()

2014-05-12 Thread Tom Rini
On Fri, Apr 18, 2014 at 07:09:49PM +0900, Masahiro Yamada wrote: bfin_gen_rand_mac() uses __DATE__ as the seed for random ethernet address. This makes the build non-deterministic. In the first place, it should not be implemented as a Bfin-specific function. Use eth_random_addr() instead.

Re: [U-Boot] cmd_time: do not show ticks

2014-05-12 Thread Tom Rini
On Fri, Apr 18, 2014 at 05:46:13PM +0900, Masahiro Yamada wrote: The command time shows the execution time of the command given to the argument, like this: time: 45.293 seconds, 45293 ticks Since we adopted CONFIG_SYS_HZ = 1000 for all boards, we always have a simple formula: 1 tick

Re: [U-Boot] [U-Boot, v2, 1/5] rand: do not surround function declarations by #ifdef

2014-05-12 Thread Tom Rini
On Fri, Apr 18, 2014 at 07:09:47PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, 1/2, v4] net/phy: enable get_phy_id redefinable

2014-05-12 Thread Tom Rini
On Fri, Apr 11, 2014 at 04:14:17PM +0800, Shengzhou Liu wrote: As some PHYs have non-standard PHY ID registers, PHY Id can't be read correctly by current get_phy_id function, so we enable get_phy_id redefinable to permit specific PHY driver having own specific get_phy_id function.

Re: [U-Boot] serial: nsl16550: add hw flow control support

2014-05-12 Thread Tom Rini
On Wed, Apr 09, 2014 at 03:38:46PM -0400, Karicheri, Muralidharan wrote: keystone serial hw support hw flow control. This patch enables hw flow control for keystone EVMs as an optional feature based on CONFIG_SERIAL_HW_FLOW_CONTROL. Signed-off-by: Murali Karicheri m-kariche...@ti.com

Re: [U-Boot] [U-Boot,v2,4/5] fs: ubifs: drop __DATE__ and __TIME__

2014-05-12 Thread Tom Rini
On Fri, Apr 18, 2014 at 07:09:50PM +0900, Masahiro Yamada wrote: __DATE__ and __TIME__ makes the build non-deterministic. Drop the debug message using them. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] doc: README.generic-board: Fix typo

2014-05-12 Thread Tom Rini
On Tue, Apr 22, 2014 at 03:45:42PM -0300, Fabio Estevam wrote: Signed-off-by: Fabio Estevam fabio.este...@freescale.com Acked-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] lib/sha256: fix compile on some hosts

2014-05-12 Thread Tom Rini
On Sun, Apr 20, 2014 at 10:34:15AM +0200, Andreas Bießmann wrote: Commit 2842c1c24269a05142802d25520e7cb9035e456c introduced lib/sha256 into mkimage. Since then it will be compiled with HOSTCC which may produce errors on some systems. Most BSD systems (like OS X for me) do not ship a

Re: [U-Boot] [U-Boot, v2, 2/5] net: rename and refactor eth_rand_ethaddr() function

2014-05-12 Thread Tom Rini
On Fri, Apr 18, 2014 at 07:09:48PM +0900, Masahiro Yamada wrote: Some functions in include/net.h are ported from include/linux/etherdevice.h of Linux Kernel. For ex. is_zero_ether_addr() is_multicast_ether_addr() is_broadcast_ether_addr() is_valid_ether_addr(); So, we should

Re: [U-Boot] [U-Boot, v2, 5/5] kbuild: build with -Werror=date-time if the compiler supports it

2014-05-12 Thread Tom Rini
On Fri, Apr 18, 2014 at 07:09:51PM +0900, Masahiro Yamada wrote: Using __DATE__, __TIME__ would make the build non-deterministic. If the code needs to refer to build date/time, use U_BOOT_DATE and U_BOOT_TIME in include/generated/timestamp_autogenerated.h instead. This commit has been

Re: [U-Boot] hush shell: Avoid string write overflow when entering max cmd length

2014-05-12 Thread Tom Rini
On Fri, Apr 25, 2014 at 03:35:43PM +0200, Kristian Otnes wrote: console_buffer array is defined to be CONFIG_SYS_CBSIZE + 1 long, whereas the_command array only CONFIG_SYS_CBSIZE long. Subsequent use of strcpy(the_command, console_buffer) will write final \0 terminating byte outside

Re: [U-Boot] tps6586x: staticize funtions

2014-05-12 Thread Tom Rini
On Thu, Apr 24, 2014 at 08:55:07AM +0530, Manish Badarkhe wrote: Make funtions static which are locally used in file. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2] config: remove platform CONFIG_SYS_HZ definition part 4

2014-05-12 Thread Tom Rini
On Mon, Apr 28, 2014 at 10:18:34AM +0900, Masahiro Yamada wrote: Some new boards define CONFIG_SYS_HZ again! Remove. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Bo Shen voice.s...@atmel.com Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v2] nand_spl: remove unused linker scripts u-boot-nand.lds

2014-05-12 Thread Tom Rini
On Mon, Apr 28, 2014 at 05:45:05PM +0900, Masahiro Yamada wrote: Commit 345b77ba removed some nand_spl boards but it missed to delete linker scripts. These linker scripts are not used now. And one more fix: amcc/acadia does not support nand_spl anymore, so remove #if

Re: [U-Boot] kbuild: allow null board for spl build

2014-05-12 Thread Tom Rini
On Fri, Apr 25, 2014 at 09:54:31PM +0900, Masahiro Yamada wrote: Commit 33a02da0 supported none for the board field of boards.cfg. But it missed to modify spl/Makefile. This commit provides the flexibility so we can use none board in SPL too. Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] tools: env: Add aes.c placeholder

2014-05-12 Thread Tom Rini
On Mon, Apr 28, 2014 at 11:56:30AM +0200, Marek Vasut wrote: Add missing aes.c placeholder which includes lib/aes.c . Without this one, tools/env/ will fail to build. Signed-off-by: Marek Vasut ma...@denx.de Cc: Alexey Brodkin alexey.brod...@synopsys.com Cc: Masahiro Yamada

Re: [U-Boot] [U-Boot, v2] cosmetic: delete misleading comment /* CONFIG_BOARDDIR */

2014-05-12 Thread Tom Rini
On Mon, Apr 28, 2014 at 10:17:10AM +0900, Masahiro Yamada wrote: CONFIG_BOARDDIR is not referenced in these linker scripts. The comment /* CONFIG_BOARDDIR */ is misleading. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v5, 1/2] common/board_f: Initialized global data for generic board

2014-05-12 Thread Tom Rini
On Fri, May 02, 2014 at 05:28:04PM -0700, York Sun wrote: Some platforms (tested on mpc85xx, mpc86xx) use global data before calling function baord_inti_f(). The data should not be cleared later. Any arch which uses global data in generic board board_init_f() should define

Re: [U-Boot] cmd_bootm.c: Only say XIP image when load is image_start

2014-05-12 Thread Tom Rini
On Thu, May 01, 2014 at 10:01:08AM -0400, Tom Rini wrote: We say we have an XIP (in this case, image loaded at desired execution address) when the image header has been offset in the load. It's possible that in some cases executing the header is non-fatal but that's not true in many other

Re: [U-Boot] net/designware: call phy_connect_dev() to properly setup phylib device

2014-05-12 Thread Tom Rini
On Mon, Apr 28, 2014 at 08:14:05PM +0100, Ian Campbell wrote: This sets up the linkage from the phydev back to the ethernet device. This symptom of not doing this which I noticed was: NULL Waiting for PHY auto negotiation to complete rather than: dwmac.1c5 Waiting for PHY

Re: [U-Boot] [U-Boot,v5,2/2] common/board_f: Fix size variable

2014-05-12 Thread Tom Rini
On Fri, May 02, 2014 at 05:28:05PM -0700, York Sun wrote: DRAM size should use 64-bit variable when the size could be more than 4GB. Caught and verified on P4080DS with 4GB DDR. Signed-off-by: York Sun york...@freescale.com Acked-by: Simon Glass s...@chromium.org Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v3] disk: part_efi: add support for the Backup GPT

2014-05-12 Thread Tom Rini
On Mon, May 05, 2014 at 01:00:08PM -0700, Steve Rae wrote: Check the Backup GPT table if the Primary GPT table is invalid. Renamed Secondary GPT to Backup GPT as per: UEFI Specification (Version 2.3.1, Errata A) Signed-off-by: Steve Rae s...@broadcom.com Applied to u-boot/master, thanks!

Re: [U-Boot] Trivial fix to .gitignore for spl/Makefile

2014-05-12 Thread Tom Rini
On Thu, May 01, 2014 at 02:18:41PM -0400, Ralph Siemsen wrote: Trivial fix to .gitignore for spl/Makefile According to the gitignore man page: An optional prefix ! which negates the pattern; any matching file excluded by a previous pattern will become included again.

Re: [U-Boot] boards.cfg: Keep entries sorted

2014-05-12 Thread Tom Rini
On Mon, May 12, 2014 at 01:01:51PM -0300, Fabio Estevam wrote: Run tools/reformat.py -i -d '-' -s 8 boards.cfg boards0.cfg mv boards0 in order to keep the entries sorted. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v2, 1/2] fs:ext4:cleanup: Remove superfluous code

2014-05-12 Thread Tom Rini
On Tue, May 06, 2014 at 09:36:04AM +0200, Łukasz Majewski wrote: Code responsible for handling situation when ext4 has block size of 1024B can be ordered to take less space. This patch does that for ext4 common and write files. Signed-off-by: Lukasz Majewski l.majew...@samsung.com

Re: [U-Boot] [U-Boot, v2, 2/2] fs:ext4:write:fix: Reinitialize global variables after updating a file

2014-05-12 Thread Tom Rini
On Tue, May 06, 2014 at 09:36:05AM +0200, Łukasz Majewski wrote: This bug shows up when file stored on the ext4 file system is updated. The ext4fs_delete_file() is responsible for deleting file's (e.g. uImage) data. However some global data (especially ext4fs_indir2_block), which is used

Re: [U-Boot] [U-Boot,1/3] fs/fat: add fat12 cluster check

2014-05-12 Thread Tom Rini
On Thu, May 08, 2014 at 04:14:05PM +0800, Wu, Josh wrote: Signed-off-by: Josh Wu josh...@atmel.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 2/3] fs: fat_write: fix the incorrect last cluster checking

2014-05-12 Thread Tom Rini
On Thu, May 08, 2014 at 04:14:06PM +0800, Wu, Josh wrote: In fat_write.c, the last clust condition check is incorrect: if ((curclust = 0xff8) || (curclust = 0xfff8)) { ... ... } For example, in FAT32 if curclust is 0x11000. It is a valid clust. But on above condition

Re: [U-Boot] [U-Boot, 3/3] fs/fat: correct FAT16/12 file finding in root dir

2014-05-12 Thread Tom Rini
On Thu, May 08, 2014 at 04:14:07PM +0800, Wu, Josh wrote: When write a file into FAT file system, it will search a match file in root dir. So the find_directory_entry() will get the first cluster of root dir content and search the directory item one by one. If the file is not found, we will

Re: [U-Boot] [PATCH v3] Exynos5: config: Enable FIT

2014-05-12 Thread Minkyu Kang
Dear Akshay Saraswat, On 06/05/14 23:37, Akshay Saraswat wrote: Adding two configs: * CONFIG_FIT - Enable FIT image support. * CONFIG_FIT_BEST_MATCH - Enable fetching correct DTB from FIT image by comparing compatibles. Signed-off-by: Akshay Saraswat

Re: [U-Boot] [RFC PATCH v2 03/13] sandbox: Support iotrace feature

2014-05-12 Thread Rommel G Custodio
Dear Simon Glass, Simon Glass sjg at chromium.org writes: Support the iotrace feature for sandbox, and enable it, using some dummy I/O access methods. Signed-off-by: Simon Glass sjg at chromium.org --- snipped diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index

[U-Boot] [PATCH] 85xx/p1020:Define no. of usb controllers used on P1020RDB-PD platform

2014-05-12 Thread Ramneek Mehresh
Define number of USB controllers used on P1020RDB-PD platform. This platform has P1020 SoC which has two USB controllers, but only first one is used on the platform Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h | 2 ++

[U-Boot] [PATCH v13 0/2] S5P: Exynos: Add GPIO numbering feature

2014-05-12 Thread Akshay Saraswat
Used a script to recheck/verify pin mapping and existing mapping appears to be fine, returning correct bank and pin values. Did ./MAKEALL -a arm and found all Exynos/S5P related boards compiled successfully. Couldn't test booting over all of them. Tested U-Boot bootup over SMDK5420, SMDK5250,

[U-Boot] [PATCH v13 2/2] S5P: Exynos: Config: Enable GPIO CMD config

2014-05-12 Thread Akshay Saraswat
Enabling configs for GPIO CMD, EXYNOS4 family and replacing exynos_gpio_get with new linear GPIO pin number required because of the new function asking only 2 arguments (pin and value) instead of 3 (bank, pin and value). Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Przemyslaw

Re: [U-Boot] [PATCH] ARM: Samsung: s5p_goni: maintainer update

2014-05-12 Thread Minkyu Kang
On 30/04/14 03:16, Mateusz Zalega wrote: Because I'm leaving Samsung Electronics, I won't have access to their developer hardware anymore. Przemyslaw Marczak will take over my responsibilities. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Acked-by: Przemyslaw Marczak

[U-Boot] [PATCH] powerpc/mpc85xx: 32bit DDR changes for P1020/P1011

2014-05-12 Thread Prabhakar Kushwaha
The P1020/P1011 SOCs support max 32bit DDR width as opposed to P2020/P2010 where max DDR data width supported is 64bit. Add dynamic DDR size adjustment in second stage boot loader execution. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- arch/powerpc/cpu/mpc85xx/cpu.c |7

[U-Boot] [PATCH] board/p1_p2_rdb:Enable p1_p2_rdb boot from NAND/SD/SPI in SPL

2014-05-12 Thread Prabhakar Kushwaha
In the earlier patches, the SPL/TPL fraamework was introduced. For SD/SPI flash booting way, we introduce the SPL to enable a loader stub. The SPL was loaded by the code from the internal on-chip ROM. The SPL initializes the DDR according to the SPD and loads the final uboot image into DDR, then