Re: [U-Boot] [PATCH] integrator: pass a Device Tree by default

2013-01-22 Thread Linus Walleij
On Sun, Jan 20, 2013 at 1:53 AM, Marek Vasut ma...@denx.de wrote: Dear Linus Walleij, This, enabled the FDT library for the Integrators, updates the Integrator/CP default command to load and pass a Device Tree when booting the kernel from the on-board ethernet, define same environment for

[U-Boot] [PATCH] at91sam9x5: mmc: save environment as a file in FAT partition.

2013-01-22 Thread Josh Wu
This patch will save U-Boot environment as a file: uboot.env, in FAT partition instead of saving it in raw sector of SD card. Since saving environment in raw sector has risk of corrupting the SD card and only can use very small size. Save as a FAT file has no above limitation. Signed-off-by:

[U-Boot] [PATCH v2] mx6qsabreauto: enable USB host interface

2013-01-22 Thread Dirk Behme
From: Knut Wohlrab knut.wohl...@de.bosch.com The USB host interface is routed to plug USB1/J30 on the mother board. Signed-off-by: Knut Wohlrab knut.wohl...@de.bosch.com --- Changes in v2: - Don't add an empty board_ehci_hcd_init() to mx6qsabreauto.c. It's not needed because

[U-Boot] [PATCH] mpc8xxx: fix DDR init value to use CONFIG_MEM_INIT_VALUE

2013-01-22 Thread Anatolij Gustschin
Configuring custom memory init value using CONFIG_MEM_INIT_VALUE in the board config file doesn't work and memory is always initialized to the value 0xdeadbeef. Only use this default value if a board doesn't define CONFIG_MEM_INIT_VALUE. Signed-off-by: Anatolij Gustschin ag...@denx.de Cc: Andy

Re: [U-Boot] [PATCH 4/9] mx23evk: Add initial board support

2013-01-22 Thread Otavio Salvador
On Tue, Jan 22, 2013 at 12:30 AM, Fabio Estevam feste...@gmail.com wrote: On Mon, Jan 21, 2013 at 11:47 PM, Otavio Salvador ota...@ossystems.com.br wrote: Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- board/freescale/mx23evk/Makefile | 47 +++

[U-Boot] [PATCH v2] arm: fix CONFIG_DELAY_ENVIRONMENT to act like it claims in the README

2013-01-22 Thread Lucas Stach
No one expects to end up in a delayed environment if CONFIG_DELAY_ENVIRONMENT isn't defined. Signed-off-by: Lucas Stach d...@lynxeye.de --- v2: keep preference of CONFIG_OF_CONTROL and just change default value --- arch/arm/lib/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-22 Thread Ramesh K Khokhani
Hi Angelo Wolfgang, I can erase perfectly but can read perfectly. One thing is that I can write some data in debug mode and without debug mode I cant write any bytes in flash. You can see as follows: - md 0x4 0004: 00040010:

Re: [U-Boot] U-Boot Graphics Library?

2013-01-22 Thread Alexander Holler
Am 21.01.2013 02:29, schrieb Alexander Holler: Am 18.01.2013 21:57, schrieb Simon Glass: Hi, On Fri, Jan 18, 2013 at 7:47 AM, Steve Strobel steve.stro...@link-comm.com wrote: Maybe the USB flash drive used for recovery could contain not only the image to be written to flash, but also a

Re: [U-Boot] [PATCH] integrator: pass a Device Tree by default

2013-01-22 Thread Marek Vasut
Dear Linus Walleij, On Sun, Jan 20, 2013 at 1:53 AM, Marek Vasut ma...@denx.de wrote: Dear Linus Walleij, This, enabled the FDT library for the Integrators, updates the Integrator/CP default command to load and pass a Device Tree when booting the kernel from the on-board ethernet,

Re: [U-Boot] [PATCH] integrator: pass a Device Tree by default

2013-01-22 Thread Linus Walleij
On Tue, Jan 22, 2013 at 1:04 PM, Marek Vasut ma...@denx.de wrote: On Sun, Jan 20, 2013 at 1:53 AM, Marek Vasut ma...@denx.de wrote: Shouldn't the load address be 0x8000 instead of 0x800 (it used to be 0x7fc0) ? 0x800 works fine, but honestly I don't know why Peter P ages ago chose the

Re: [U-Boot] [PATCH] integrator: pass a Device Tree by default

2013-01-22 Thread Marek Vasut
Dear Linus Walleij, On Tue, Jan 22, 2013 at 1:04 PM, Marek Vasut ma...@denx.de wrote: On Sun, Jan 20, 2013 at 1:53 AM, Marek Vasut ma...@denx.de wrote: Shouldn't the load address be 0x8000 instead of 0x800 (it used to be 0x7fc0) ? 0x800 works fine, but honestly I don't know why

Re: [U-Boot] [PATCH 1/2] video: exynos_dp: Remove unused variable disp_info

2013-01-22 Thread Simon Glass
On Mon, Jan 14, 2013 at 1:32 AM, Ajay Kumar ajaykumar...@samsung.com wrote: Remove unused variable disp_info to fix the following compilation warning: exynos_dp.c: In function 'exynos_init_dp': exynos_dp.c:860:23: warning: variable 'disp_info' set but not used [-Wunused-but-set-variable]

[U-Boot] [PATCH 0/3 V2] EXYNOS5: Add GPIO numbering feature

2013-01-22 Thread Rajeshwari Shinde
This patchset adds GPIO numbering feature where pinmux setting can be done just by sending the pin number which is defined as a enum in asm/gpio.h. Changes in V2: - Enabled CMD_GPIO as suggested by Simon Glass and supported same for EXYNOS5 Rajeshwari Shinde (3): S5P:

[U-Boot] [PATCH 1/3 V2] S5P: GPIO: Add generic pin numbering API's

2013-01-22 Thread Rajeshwari Shinde
This patch adds API's to set config, drive and pull factor in gpio pin mumbering feature. Signed-off-by: Rajeshawari Shinde rajeshwar...@samsung.com --- Changes in V2: - none. drivers/gpio/s5p_gpio.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 2/3 V2] EXYNOS5: Add gpio pin numbering feature

2013-01-22 Thread Rajeshwari Shinde
This patch adds support for gpio pin numbering support on EXYNOS5 pinmux. Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - none. arch/arm/cpu/armv7/exynos/pinmux.c | 148 +

[U-Boot] [PATCH 3/3 V2] EXYNOS5: GPIO: Enable GPIO Command for EXYNOS5

2013-01-22 Thread Rajeshwari Shinde
This patch enables GPIO Command for EXYNOS5. Function has been added to asm/gpio.h to decode the input gpio name to gpio number. example: gpio set gpa00 GPIO_INPUT in cmd_gpio.c has been modified to GPIO_DIRECTION_INPUT as GPIO_INPUT is alraedy defined in exynos5 and leading to a error.

Re: [U-Boot] [PATCH 2/2] video: exynos_fb: Make a call to draw_logo only when CONFIG_CMD_BMP is selected

2013-01-22 Thread Simon Glass
Hi Ajay, On Mon, Jan 14, 2013 at 1:32 AM, Ajay Kumar ajaykumar...@samsung.com wrote: Previously, the call to draw_logo() was happening irrespective of whether we have selected logo or LCD console. With this patch we call draw_logo() only when CONFIG_CMD_BMP is selected. This would even fix

Re: [U-Boot] [PATCH 2/2] SMDK5250: Add PMIC voltage settings

2013-01-22 Thread Simon Glass
On Tue, Jan 15, 2013 at 2:25 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds required pmic voltage settings for SMDK5250. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org (But see a comment nit below) ---

Re: [U-Boot] [PATCH v2 8/9] tegra: add SPI SLINK driver

2013-01-22 Thread Simon Glass
Hi Allen, On Mon, Jan 14, 2013 at 8:27 PM, Allen Martin amar...@nvidia.com wrote: On Sat, Jan 12, 2013 at 08:56:23AM -0800, Simon Glass wrote: Hi, On Sat, Jan 12, 2013 at 1:07 AM, Allen Martin amar...@nvidia.com wrote: Add driver for tegra SPI SLINK style driver. This controller is

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-22 Thread Måns Rullgård
Albert ARIBAUD albert.u.b...@aribaud.net writes: Hi Måns, In other words, boolifying on use rather than on assignment is generally safer and usually at least as efficient. Except when assigning a C = A B where A and B happen to have no common bit set. Which is why I think 'boolifying' as

[U-Boot] [PATCH 2/2] Davinci: Fix, console output confusing while setting MAC address

2013-01-22 Thread Kim Bøndergaard
--- arch/arm/cpu/arm926ejs/davinci/misc.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/davinci/misc.c b/arch/arm/cpu/arm926ejs/davinci/misc.c index d0389a4..dc74af6 100644 --- a/arch/arm/cpu/arm926ejs/davinci/misc.c +++

[U-Boot] [PATCH 1/2] Davinci: Make MAC address offset in EEPROM configurable, CONFIG_MAC_EEPROM_ADDR

2013-01-22 Thread Kim Bøndergaard
--- arch/arm/cpu/arm926ejs/davinci/misc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/arm926ejs/davinci/misc.c b/arch/arm/cpu/arm926ejs/davinci/misc.c index c310c69..d0389a4 100644 --- a/arch/arm/cpu/arm926ejs/davinci/misc.c +++

[U-Boot] [PATCH 0/2] Davinci, MAC addr improvements

2013-01-22 Thread Kim Bøndergaard
Two fixes related to MAC address setting on Davinci boards. The following changes since commit 54b08efcf2f4ff532ce99c53f341a59c193331a5: README.mips: update known issues and TODOs (2013-01-16 10:52:08 +0100) are available in the git repository at:

Re: [U-Boot] [PATCH v2 8/9] tegra: add SPI SLINK driver

2013-01-22 Thread Simon Glass
Hi Stephen, On Mon, Jan 14, 2013 at 10:49 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/12/2013 09:56 AM, Simon Glass wrote: Hi, On Sat, Jan 12, 2013 at 1:07 AM, Allen Martin amar...@nvidia.com wrote: Add driver for tegra SPI SLINK style driver. This controller is similar to the

Re: [U-Boot] [PATCH] Tegra: T20: Remove unused 'SLOW' SoC ID and PLLX table entry

2013-01-22 Thread Simon Glass
On Fri, Jan 18, 2013 at 1:11 PM, Tom Warren twarren.nvi...@gmail.com wrote: Signed-off-by: Tom Warren twar...@nvidia.com Acked-by: Simon Glass s...@chromium.org --- arch/arm/cpu/arm720t/tegra-common/cpu.c |7 --- arch/arm/include/asm/arch-tegra/tegra.h |1 - 2 files changed, 0

Re: [U-Boot] [PATCH 2/2] video: exynos_fb: Make a call to draw_logo only when CONFIG_CMD_BMP is selected

2013-01-22 Thread Ajay kumar
Hi Simon, On Tue, Jan 22, 2013 at 7:13 PM, Simon Glass s...@chromium.org wrote: Hi Ajay, On Mon, Jan 14, 2013 at 1:32 AM, Ajay Kumar ajaykumar...@samsung.com wrote: Previously, the call to draw_logo() was happening irrespective of whether we have selected logo or LCD console. With this

Re: [U-Boot] [PATCH v2] arm: fix CONFIG_DELAY_ENVIRONMENT to act like it claims in the README

2013-01-22 Thread Simon Glass
On Tue, Jan 22, 2013 at 2:15 AM, Lucas Stach d...@lynxeye.de wrote: No one expects to end up in a delayed environment if CONFIG_DELAY_ENVIRONMENT isn't defined. Signed-off-by: Lucas Stach d...@lynxeye.de Good with me, and solves the immediate problem. Thanks for doing the patch. Acked-by:

Re: [U-Boot] [PATCH 2/2] video: exynos_fb: Make a call to draw_logo only when CONFIG_CMD_BMP is selected

2013-01-22 Thread Simon Glass
Hi Ajay, On Tue, Jan 22, 2013 at 6:11 AM, Ajay kumar ajayn...@gmail.com wrote: Hi Simon, On Tue, Jan 22, 2013 at 7:13 PM, Simon Glass s...@chromium.org wrote: Hi Ajay, On Mon, Jan 14, 2013 at 1:32 AM, Ajay Kumar ajaykumar...@samsung.com wrote: Previously, the call to draw_logo() was

[U-Boot] [PATCH 0/2] make u-boot/drivers/net/designware cache supportive

2013-01-22 Thread Frank Dols
Hello Vipin, As discussed, see included the patches to make your u-boot/drivers/net/designware Ethernet device driver cache support aware. First patch is about: do an explicit memory access instead of implicit, I re-written assignments to use readl() and writel(). Second patch is about: making the

[U-Boot] [PATCH 2/2] u-boot/drivers/net/designware with cache support.

2013-01-22 Thread Frank Dols
Signed-off-by: Frank Dols frank.d...@synopsys.com --- drivers/net/designware.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 2f235d5..8e0508e 100644 --- a/drivers/net/designware.c +++

[U-Boot] [PATCH 1/2] drivers/net/designware, do an explicit memory access instead of implicit, re-written assignments to use readl() and writel(), all of this as preperation for making the driver able

2013-01-22 Thread Frank Dols
Signed-off-by: Frank Dols frank.d...@synopsys.com --- drivers/net/designware.c | 108 +++--- drivers/net/designware.h |4 +- 2 files changed, 66 insertions(+), 46 deletions(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index

Re: [U-Boot] [PATCH v2] mx6qsabre_common: Let mmc partition be board specific

2013-01-22 Thread Fabio Estevam
Hi Stefano, On Mon, Jan 14, 2013 at 4:59 PM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com commit 49ea0ff5 (49ea0ff5) introduced CONFIG_SYS_MMC_ENV_PART into mx6qsabresd.h to store the mmc partition, but in order for it to have effect we should

Re: [U-Boot] [PATCH 1/7] EXYNOS5: Add function to enable XXTI clock source

2013-01-22 Thread Simon Glass
Hi Rajeshwari, On Mon, Jan 21, 2013 at 2:52 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds funtion to enable XXTI clock source required by MAX98095 codec. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- arch/arm/cpu/armv7/exynos/power.c| 11

Re: [U-Boot] [PATCH 4/7] EXYNOS5: GPIO to enable MAX98095

2013-01-22 Thread Simon Glass
Hi Rajeshwari, On Mon, Jan 21, 2013 at 2:52 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch sets high a GPIO to enable the codec MAX98095 Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- board/samsung/smdk5250/smdk5250.c | 15 +++ 1 files

Re: [U-Boot] [PATCH 6/7] EXYNOS5: Add initial DTS file for Snow.

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 2:52 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds the DTS file for Snow Board. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Rajeshwari --- board/samsung/dts/exynos5250-snow.dts | 69 + 1

Re: [U-Boot] [PATCH 7/7] EXYNOS5: Snow: Add a configuration file

2013-01-22 Thread Simon Glass
Hi Rajeshwari, On Mon, Jan 21, 2013 at 2:52 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds the configuration file for Snow Board and defines the same in boards.cfg. The Audio codec required for SMDK5250 and Snow are different hence they are defined in the corresponding

Re: [U-Boot] [PATCH v2] mx6qsabre_common: Let mmc partition be board specific

2013-01-22 Thread Stefano Babic
On 22/01/2013 15:42, Fabio Estevam wrote: Hi Stefano, Hi Fabio, On Mon, Jan 14, 2013 at 4:59 PM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com commit 49ea0ff5 (49ea0ff5) introduced CONFIG_SYS_MMC_ENV_PART into mx6qsabresd.h to store the mmc

Re: [U-Boot] Custodians, Maintainers and old platforms

2013-01-22 Thread Detlev Zundel
Hi Marek, [...] It brings me to another question though, would it be possible to get a custodian tree for OpenRISC? CCing Detlev. Sorry for being late here - do we still need/want the OpenRISC tree? Actually I anticipated such a tree nearly five years ago[1] *lol*. Cheers Detlev [1]

Re: [U-Boot] [PATCH 1/7 v5] EXYNOS5: TMU: Add driver for Thermal Management Unit

2013-01-22 Thread Simon Glass
Hi Akshay, On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat aksha...@samsung.com wrote: Adding Exynos Thermal Management Unit driver to monitor SOC temperature and take actions corresponding to states of TMU. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass

Re: [U-Boot] [PATCH 2/7 v5] EXYNOS5: Implement board_poweroff for Thermal Management Unit

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat aksha...@samsung.com wrote: Adding API in power for system shutdown when tripping value is reached in Exynos Thermal Management Unit. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes

Re: [U-Boot] [PATCH 3/7 v5] EXYNOS5: FDT: Add TMU device node values

2013-01-22 Thread Simon Glass
Hi Akshay, On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat aksha...@samsung.com wrote: Fdt entry for Exynos TMU driver specific pre-defined values used for calibration of current temperature and defining threshold values. Signed-off-by: Akshay Saraswat aksha...@samsung.com With nits below

[U-Boot] [PATCH 2/2] tegra: rename FUNCMUX_UART2_UARTB

2013-01-22 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com FUNCMUX_ defines should be named after the pin groups they affect, not after the module they're muxing onto those pin groups. Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/cpu/tegra-common/board.c |4 ++--

[U-Boot] [PATCH 1/2] tegra: don't hard-code LCD into default TEGRA_DEVICE_SETTINGS

2013-01-22 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Only add lcd into TEGRA_DEVICE_SETTINGS if CONFIG_VIDEO_TEGRA. Otherwise, lcd is meaningless. Signed-off-by: Stephen Warren swar...@nvidia.com --- include/configs/tegra-common-post.h | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-)

[U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This selects the safe (non-conflicting) mux function for a pin group if the current setting matches the specified function. Many signals can be routed to or from multiple different groups. Each signal must be routed to or from only a single group at a

Re: [U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2013-01-22 Thread Stephen Warren
On 01/21/2013 05:20 PM, Lucas Stach wrote: Even the 8bit case needs KBCB configured, as pin D7 is located in this pingroup. Also pingroup ATC seems to come out of reset with config set to NAND, so we need to explictly configure some other function to this group in order to avoid clashing

Re: [U-Boot] [PATCH v2 3/7] Tegra114: Add CPU (armv7) files

2013-01-22 Thread Simon Glass
On Fri, Jan 18, 2013 at 1:12 PM, Tom Warren twarren.nvi...@gmail.com wrote: These files are for code that runs on the CPU (A15) on T114 boards. At this time, there is no A15-specific code here. As T114-specific run-time code is added, it'll go here. Signed-off-by: Tom Warren

Re: [U-Boot] [PATCH v2 1/7] Tegra114: Add arch-tegra114 include files

2013-01-22 Thread Tom Warren
Stephen, On Fri, Jan 18, 2013 at 4:54 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/18/2013 02:12 PM, Tom Warren wrote: Common Tegra files are in arch-tegra, shared between T20/T30/T114. Tegra114-specific headers are in arch-tegra114. Note that some of these will be filled in as more

[U-Boot] [PATCH v2 00/10] common.lcd: remove globals and cleanup

2013-01-22 Thread Jeroen Hofstee
As mentioned in http://lists.denx.de/pipermail/u-boot/2013-January/143459.html there does not seem to be a good reason why the frame buffer driver provide the variables for the lcd internal logic. So lets just remove it. If there is any good reason for a framebuffer driver to call up it should do

[U-Boot] [PATCH v2 02/10] lcd, tegra: remove unused cursor functions

2013-01-22 Thread Jeroen Hofstee
cc: Anatolij Gustschin ag...@denx.de cc: Simon Glass s...@chromium.org Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- drivers/video/tegra.c | 52 - 1 file changed, 52 deletions(-) diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c

[U-Boot] [PATCH v2 01/10] lcd, amba: remove this driver since it is not used

2013-01-22 Thread Jeroen Hofstee
Since CONFIG_VIDEO_AMBA is not set by any board, it does not seem to be used, so remove it since there is no way to (compile) test it. cc: Alessandro Rubini rub...@unipv.it cc: Anatolij Gustschin ag...@denx.de Acked-by: Alessandro Rubini rub...@unipv.it Signed-off-by: Jeroen Hofstee

[U-Boot] [PATCH v2 03/10] lcd, mpc8xx: move the mpc8xx driver to drivers/video

2013-01-22 Thread Jeroen Hofstee
Since the lcd code was compiled unconditionally in arch also add CONFIG_MPC8XX_LCD to the boards using this driver. cc: Anatolij Gustschin ag...@denx.de cc: Wolfgang Denk w...@denx.de Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- arch/powerpc/cpu/mpc8xx/Makefile |1

[U-Boot] [PATCH v2 05/10] common/lcd.c: cleanup use of global variables

2013-01-22 Thread Jeroen Hofstee
console_col, console_row, lcd_line_length, lcd_console_address had to be declared in board / driver specific code, but were not actually used there. Get rid of the global variables. for completeness, the ack of Bo Shen is for the atmel part Cc: Alessandro Rubini rub...@unipv.it Cc: Anatolij

[U-Boot] [PATCH v2 06/10] common/lcd.c: remove global lcd_base

2013-01-22 Thread Jeroen Hofstee
lcd_base is available as gd-fb_base as well, there is no need to keep a seperate copy. For completeness the ack of Bo Shen is for the atmel part. Cc: Alessandro Rubini rub...@unipv.it Cc: Anatolij Gustschin ag...@denx.de Cc: Bo Shen voice.s...@atmel.com Cc: Haavard Skinnemoen

[U-Boot] [PATCH v2 08/10] lcd, fb: remove duplicated prototypes and unused code

2013-01-22 Thread Jeroen Hofstee
cc: Anatolij Gustschin ag...@denx.de cc: Cliff Brake cliff.br...@gmail.com cc: John Zhan zh...@sinovee.com cc: Marek Vasut marek.va...@gmail.com cc: Wolfgang Denk w...@denx.de Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- board/mcc200/lcd.c |7 ---

[U-Boot] [PATCH v2 09/10] api/api_display: use the getters for console size info

2013-01-22 Thread Jeroen Hofstee
cc: Che-Liang Chiou clch...@chromium.org Acked-by: Che-Liang Chiou clch...@chromium.org Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- api/api_display.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/api_display.c b/api/api_display.c index 6439170..c167db7

[U-Boot] [PATCH v2 04/10] lcd, pxafb: move the pxafb to drivers/video

2013-01-22 Thread Jeroen Hofstee
Since the lcd code was compiled unconditionally for pxa also add CONFIG_PXA_LCD to the boards using this framebuffer. Since driver/video contains video and lcd drivers, add lcd to the name to make clear it belongs to common/lcd.c. cc: Anatolij Gustschin ag...@denx.de cc: Cliff Brake

Re: [U-Boot] [PATCH 4/7 v5] EXYNOS5: TMU: Add TMU init and status check

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat aksha...@samsung.com wrote: This adds call to tmu_init() and TMU boot time analysis for the SoC temperature threshold breach. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v4:

Re: [U-Boot] [PATCH v2 2/7] Tegra114: Add AVP (arm720t) files

2013-01-22 Thread Tom Warren
Stephen, On Fri, Jan 18, 2013 at 5:09 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/18/2013 05:01 PM, Stephen Warren wrote: On 01/18/2013 02:12 PM, Tom Warren wrote: This provides SPL support for T114 boards - AVP early init, plus CPU (A15) init/jump to main U-Boot. +void

Re: [U-Boot] [PATCH 5/7 v5] EXYNOS5: Config: Enable support for Exynos TMU driver

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat aksha...@samsung.com wrote: Enables TMU driver support for exynos5250 Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v4: - Rebased this patch.

Re: [U-Boot] [PATCH 7/7] Tegra114: Add/enable Dalmore build (T114 reference board)

2013-01-22 Thread Tom Warren
Simon, On Mon, Jan 21, 2013 at 4:07 PM, Simon Glass s...@chromium.org wrote: Hi Stephen, On Wed, Jan 16, 2013 at 2:51 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/16/2013 02:14 PM, Tom Warren wrote: This build is stripped down. It boots to the command prompt. GPIO is the only

Re: [U-Boot] [PATCH 6/7 v5] TMU: Add TMU support in dtt command

2013-01-22 Thread Simon Glass
Hi Akshay, On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat aksha...@samsung.com wrote: Add generic TMU support alongwith i2c sensors in dtt command to enable temperature reading in cases where TMU is present instead of i2c sensors. Signed-off-by: Akshay Saraswat aksha...@samsung.com ---

Re: [U-Boot] [PATCH 7/7 v5] EXYNOS5: Config: Enable dtt command for TMU

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat aksha...@samsung.com wrote: This enables the dtt command to read the current SOC temperature with the help of TMU Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v4: -

Re: [U-Boot] [PATCH v2 4/7] Tegra114: Add common CPU (shared) files

2013-01-22 Thread Simon Glass
Hi Tom, On Fri, Jan 18, 2013 at 1:12 PM, Tom Warren twarren.nvi...@gmail.com wrote: These files are used by both SPL and main U-Boot. Signed-off-by: Tom Warren twar...@nvidia.com --- Changes in v2: - update all new copyright header dates to 2013 - use ODMDATA correctly in query_dram_size

Re: [U-Boot] [PATCH] MIPS: start{, 64}.S: fill branch delay slots with NOP instructions

2013-01-22 Thread Daniel Schwierzeck
2013/1/16 Gabor Juhos juh...@openwrt.org: The romReserved and romExcHandle handlers are accessed by a branch instruction however the delay slots of those instructions are not filled. Because the start.S uses the 'noreorder' directive, the assembler will not fill the delay slots either, and

Re: [U-Boot] [PATCH 7/7] Tegra114: Add/enable Dalmore build (T114 reference board)

2013-01-22 Thread Simon Glass
Hi Tom, On Tue, Jan 22, 2013 at 12:47 PM, Tom Warren twarren.nvi...@gmail.com wrote: Simon, On Mon, Jan 21, 2013 at 4:07 PM, Simon Glass s...@chromium.org wrote: Hi Stephen, On Wed, Jan 16, 2013 at 2:51 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/16/2013 02:14 PM, Tom Warren

Re: [U-Boot] [PATCH 2/2] MIPS: convert IO port accessor functions to 'static inline'

2013-01-22 Thread Daniel Schwierzeck
2013/1/16 Gabor Juhos juh...@openwrt.org: The currently used 'extern inline' directive causes the following compiler warnings if CONFIG_SWAP_IO_SPACE is defined: .../include/asm/io.h:345:1: warning: '__fswab32' is static but used in inline function '__outlc_p' which is not static [enabled

Re: [U-Boot] [PATCH 1/2] MIPS: use inline directive for __in*s functions

2013-01-22 Thread Daniel Schwierzeck
2013/1/16 Gabor Juhos juh...@openwrt.org: All other IO accessor functions are using the 'inline' directive. Use that also for the __in*s to make it consistent with the other variants. Signed-off-by: Gabor Juhos juh...@openwrt.org Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com ---

Re: [U-Boot] [PATCH v2 1/7] Tegra114: Add arch-tegra114 include files

2013-01-22 Thread Stephen Warren
On 01/22/2013 01:44 PM, Tom Warren wrote: Stephen, On Fri, Jan 18, 2013 at 4:54 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/18/2013 02:12 PM, Tom Warren wrote: Common Tegra files are in arch-tegra, shared between T20/T30/T114. Tegra114-specific headers are in arch-tegra114. Note

Re: [U-Boot] [PATCH v2 2/7] Tegra114: Add AVP (arm720t) files

2013-01-22 Thread Stephen Warren
On 01/22/2013 01:46 PM, Tom Warren wrote: Stephen, On Fri, Jan 18, 2013 at 5:09 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/18/2013 05:01 PM, Stephen Warren wrote: On 01/18/2013 02:12 PM, Tom Warren wrote: This provides SPL support for T114 boards - AVP early init, plus CPU (A15)

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Simon Glass
Hi Stephen, On Tue, Jan 22, 2013 at 8:21 AM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com This selects the safe (non-conflicting) mux function for a pin group if the current setting matches the specified function. Many signals can be routed to or from

Re: [U-Boot] [PATCH 1/2] tegra: don't hard-code LCD into default TEGRA_DEVICE_SETTINGS

2013-01-22 Thread Simon Glass
On Tue, Jan 22, 2013 at 8:20 AM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Only add lcd into TEGRA_DEVICE_SETTINGS if CONFIG_VIDEO_TEGRA. Otherwise, lcd is meaningless. Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Simon Glass

Re: [U-Boot] [PATCH 2/2] tegra: rename FUNCMUX_UART2_UARTB

2013-01-22 Thread Simon Glass
On Tue, Jan 22, 2013 at 8:20 AM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com FUNCMUX_ defines should be named after the pin groups they affect, not after the module they're muxing onto those pin groups. Signed-off-by: Stephen Warren swar...@nvidia.com

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Stephen Warren
On 01/22/2013 02:13 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 22, 2013 at 8:21 AM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com This selects the safe (non-conflicting) mux function for a pin group if the current setting matches the specified

[U-Boot] [PATCH] Fix MCF5235 SDRAM base address macro

2013-01-22 Thread Steve deRosier
SDRAMC_DARCn_BA() macro worked fine when the BA is 0x even though the macro is incorrect. It causes the BA to be set incorrctly for other base addresses. This patch fixes the macro so that base addresses other than zero can be used with the MCF5235. Signed-off-by: Steve deRosier

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Simon Glass
Hi Stephen, On Tue, Jan 22, 2013 at 1:26 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/22/2013 02:13 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 22, 2013 at 8:21 AM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com This selects the safe

[U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
Fix compiler warning about control flow reaching end of non void function. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/sandbox/cpu/start.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index 7603bf9..5287fd5 100644 ---

Re: [U-Boot] [PATCH v2 4/7] Tegra114: Add common CPU (shared) files

2013-01-22 Thread Tom Warren
Simon, On Tue, Jan 22, 2013 at 1:54 PM, Simon Glass s...@chromium.org wrote: Hi Tom, On Fri, Jan 18, 2013 at 1:12 PM, Tom Warren twarren.nvi...@gmail.com wrote: These files are used by both SPL and main U-Boot. Signed-off-by: Tom Warren twar...@nvidia.com --- Changes in v2: - update all

Re: [U-Boot] [PATCH v2 4/7] Tegra114: Add common CPU (shared) files

2013-01-22 Thread Simon Glass
Hi Tom, On Tue, Jan 22, 2013 at 1:37 PM, Tom Warren twarren.nvi...@gmail.com wrote: Simon, On Tue, Jan 22, 2013 at 1:54 PM, Simon Glass s...@chromium.org wrote: Hi Tom, On Fri, Jan 18, 2013 at 1:12 PM, Tom Warren twarren.nvi...@gmail.com wrote: These files are used by both SPL and main

Re: [U-Boot] [PATCH v2 4/7] Tegra114: Add common CPU (shared) files

2013-01-22 Thread Tom Warren
Simon, On Tue, Jan 22, 2013 at 2:45 PM, Simon Glass s...@chromium.org wrote: Hi Tom, On Tue, Jan 22, 2013 at 1:37 PM, Tom Warren twarren.nvi...@gmail.com wrote: Simon, On Tue, Jan 22, 2013 at 1:54 PM, Simon Glass s...@chromium.org wrote: Hi Tom, On Fri, Jan 18, 2013 at 1:12 PM, Tom

Re: [U-Boot] [PATCH v2 4/7] Tegra114: Add common CPU (shared) files

2013-01-22 Thread Simon Glass
Hi Tom, On Tue, Jan 22, 2013 at 1:49 PM, Tom Warren twarren.nvi...@gmail.com wrote: Simon, On Tue, Jan 22, 2013 at 2:45 PM, Simon Glass s...@chromium.org wrote: Hi Tom, On Tue, Jan 22, 2013 at 1:37 PM, Tom Warren twarren.nvi...@gmail.com wrote: Simon, On Tue, Jan 22, 2013 at 1:54 PM,

Re: [U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Simon Glass
On Tue, Jan 22, 2013 at 1:42 PM, Allen Martin amar...@nvidia.com wrote: Fix compiler warning about control flow reaching end of non void function. Signed-off-by: Allen Martin amar...@nvidia.com Should perhaps mention the commit that adding this warning (e05e5de7 I think) Acked-by: Simon

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Stephen Warren
On 01/22/2013 02:42 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 22, 2013 at 1:26 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/22/2013 02:13 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 22, 2013 at 8:21 AM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren

Re: [U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2013-01-22 Thread Lucas Stach
Am Dienstag, den 22.01.2013, 09:24 -0700 schrieb Stephen Warren: On 01/21/2013 05:20 PM, Lucas Stach wrote: Even the 8bit case needs KBCB configured, as pin D7 is located in this pingroup. Also pingroup ATC seems to come out of reset with config set to NAND, so we need to explictly

[U-Boot] [PATCH v4 2/2] amcore: add support for amcore board

2013-01-22 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello sysa...@gmail.com Cc: Jason Jin jason@freescale.com --- Changes for v2: - None Changes for v3: - Fix code format issues Changes for v4: - Added MAINTAINERS file entry - Removed all unnecessary blank lines - Added get_ram_size in sdram init - Reused already

[U-Boot] [PATCH v4 1/2] m68k: add support for mcf5307 cpu

2013-01-22 Thread Angelo Dureghello
Add support for freescale coldfire mcf5307 cpu. Signed-off-by: Angelo Dureghello sysa...@gmail.com Cc: Jason Jin jason@freescale.com --- Changes for v2: - Add MAINTAINERS entry - Add boards.cfg entry Changes for v3: - Fix code format issues Changes for v4: - Removed MAINTAINERS file / entry -

Re: [U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
On Tue, Jan 22, 2013 at 01:56:23PM -0800, Simon Glass wrote: On Tue, Jan 22, 2013 at 1:42 PM, Allen Martin amar...@nvidia.com wrote: Fix compiler warning about control flow reaching end of non void function. Signed-off-by: Allen Martin amar...@nvidia.com Should perhaps mention the

[U-Boot] [PATCH v2] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
Add back return statement to fix compiler warning about control flow reaching end of non void function that was introduced with: fec79ac sandbox: drop unused return Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Simon Glass s...@chromium.org --- arch/sandbox/cpu/start.c |

Re: [U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Simon Glass
Hi Allen, On Tue, Jan 22, 2013 at 2:48 PM, Allen Martin amar...@nvidia.com wrote: On Tue, Jan 22, 2013 at 01:56:23PM -0800, Simon Glass wrote: On Tue, Jan 22, 2013 at 1:42 PM, Allen Martin amar...@nvidia.com wrote: Fix compiler warning about control flow reaching end of non void function.

[U-Boot] [PATCH 1/1] am335x_evm: Add am335x_evm_usbspl boot target

2013-01-22 Thread Tom Rini
With USB SPL support, we need to trim out some features in order to fit within our memory constraints. To allow for the most re-use of the resulting binary, we drop out CPSW ethernet and UART support, along with the extra environment settings as those are unused by SPL. Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
On Tue, Jan 22, 2013 at 02:58:58PM -0800, Simon Glass wrote: Hi Allen, On Tue, Jan 22, 2013 at 2:48 PM, Allen Martin amar...@nvidia.com wrote: On Tue, Jan 22, 2013 at 01:56:23PM -0800, Simon Glass wrote: On Tue, Jan 22, 2013 at 1:42 PM, Allen Martin amar...@nvidia.com wrote: Fix

[U-Boot] [PATCH v3] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
Add back return statement to fix compiler warning about control flow reaching end of non void function that was introduced with: e05e5de arm: move C runtime setup code in crt0.S Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH V3 0/9] separate miiphy from ethernet

2013-01-22 Thread Troy Kisky
On 11/10/2012 12:28 AM, Stefano Babic wrote: On 23/10/2012 04:40, Troy Kisky wrote: This series tries to separate the mii regsisters from the ethernet registers as suggested by Andy Fleming. Then, mx6qsabrelite is changed to find the phy address from the possibles 4-7. The V3 series is very

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Simon Glass
Hi Stephen, On Tue, Jan 22, 2013 at 2:14 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/22/2013 02:42 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 22, 2013 at 1:26 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/22/2013 02:13 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan

Re: [U-Boot] [PATCH V5 02/10] EXYNOS5: FDT: Add DWMMC device node data

2013-01-22 Thread Simon Glass
Hi Amar, On Mon, Jan 21, 2013 at 3:43 AM, Amar amarendra...@samsung.com wrote: This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com

[U-Boot] [PATCH] MAKEALL: fix kill_children for BSD hosts

2013-01-22 Thread Andreas Bießmann
ps on BSD hosts (like OS X) do not provide the --no-headers switch nor understand the AIX format descriptions. Make the call for ps portable and filter the relevant line from output (including the header) with sed. Also switch from pgrep to ps to get the list of children and use the same mechanism

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Stephen Warren
On 01/22/2013 05:03 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 22, 2013 at 2:14 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/22/2013 02:42 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 22, 2013 at 1:26 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/22/2013 02:13 PM,

Re: [U-Boot] [PATCH V5 03/10] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 3:43 AM, Amar amarendra...@samsung.com wrote: This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence Modified the fifo size computation

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Simon Glass
Hi Stephen, On Tue, Jan 22, 2013 at 4:21 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/22/2013 05:03 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 22, 2013 at 2:14 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 01/22/2013 02:42 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan

[U-Boot] [PATCH 6/6] mxs: mmc: mx23_olinuxino: Add MMC support

2013-01-22 Thread Marek Vasut
Add support for the MMC attached to SSP1. Signed-off-by: Marek Vasut ma...@denx.de Cc: Otavio Salvador ota...@ossystems.com.br Cc: Fabio Estevam fabio.este...@freescale.com Cc: Stefano Babic sba...@denx.de --- board/olimex/mx23_olinuxino/mx23_olinuxino.c | 22 +-

[U-Boot] [PATCH 1/6] mxs: dma: Fix APBH DMA driver for MX23

2013-01-22 Thread Marek Vasut
The MX23 has less channels for the APBH DMA, sligtly different register layout and some bits in those registers are placed differently. Reflect this in the driver. This patch fixes MMC/DMA issue on MX23. Signed-off-by: Marek Vasut ma...@denx.de Cc: Otavio Salvador ota...@ossystems.com.br Cc:

  1   2   >