Re: [U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

2016-04-16 Thread Scott Wood
On Fri, 2016-04-08 at 15:45 -0400, Tom Rini wrote: > On Tue, Apr 05, 2016 at 02:07:46PM +0530, Mugunthan V N wrote: > > Scott/Tom > > > > On Saturday 02 April 2016 05:55 AM, Tom Rini wrote: > > > On Fri, Apr 01, 2016 at 06:45:03PM -0500, Scott Wood wrote: > > > > On Fri, 2016-04-01 at 19:41 -0400,

Re: [U-Boot] couple questions about tail end of common/Makefile

2016-04-16 Thread Steve Rae
On Sat, Apr 16, 2016 at 2:25 AM, Robert P. J. Day wrote: > > first, this related to CONFIG_FASTBOOT_FLASH: > > # This option is not just y/n - it can have a numeric value > ifdef CONFIG_FASTBOOT_FLASH > obj-y += image-sparse.o > ifdef CONFIG_FASTBOOT_FLASH_MMC_DEV > obj-y += fb_mmc.o >

[U-Boot] uh ... is it "help" or "---help---"?

2016-04-16 Thread Robert P. J. Day
more teeth-gnashing pedantry ... is Kconfig standard "help" or "---help---"? rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

[U-Boot] [PATCH 02/12] cmd: eeprom: add support for layout aware commands

2016-04-16 Thread Nikita Kiryanov
Introduce the (optional) eeprom print and eeprom update commands. These commands are eeprom layout aware: * The eeprom print command prints the contents of the eeprom in a human readable way (eeprom layout fields, and data formatted to be fit for human consumption). * The eeprom update command

[U-Boot] [PATCH 01/12] cmd: eeprom: add bus switching support for all i2c drivers

2016-04-16 Thread Nikita Kiryanov
The i2c_init function is always provided when CONFIG_SYS_I2C is defined. No need to limit ourselves to just one supported I2C driver (soft_i2c). Update the #ifdef conditions to support bus switching for all I2C drivers. Cc: Heiko Schocher Cc: Marek Vasut Cc: Igor Grinberg Cc: Tom Rini Signed-o

[U-Boot] [PATCH 00/12] Introduce layout aware eeprom commands

2016-04-16 Thread Nikita Kiryanov
This series introduces eeprom layout aware capabilities to the existing eeprom command, and then enables this feature on Compulab boards. It is an import of the Compulab eeprom-utility (https://github.com/compulab/eeprom-util), and it introduces 2 new options to the eeprom command: eeprom print [-

[U-Boot] [PATCH 03/12] compulab: add support for layout aware eeprom commands

2016-04-16 Thread Nikita Kiryanov
Add layout definitions and implement functions for field printing/updating, layout detection, layout assignment, and layout parsing. Cc: Igor Grinberg Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- board/compulab/common/eeprom.c | 344 + 1 file changed,

[U-Boot] [PATCH 12/12] eeprom: merge cmdline parsing of eeprom commands

2016-04-16 Thread Nikita Kiryanov
Merge the parsing of layout aware and layout unaware eeprom commands into one parsing function. With this change, layout aware commands now follow the eeprom read and eeprom write conventions of making i2c bus and i2c address parameters optional. Cc: Heiko Schocher Cc: Marek Vasut Cc: Simon Glas

[U-Boot] [PATCH 05/12] arm: cm-t335: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-T335. Cc: Igor Grinberg Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- include/configs/cm_t335.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h index adf05b1..d8d49

[U-Boot] [PATCH 11/12] eeprom: use eeprom_execute_command for all eeprom functions

2016-04-16 Thread Nikita Kiryanov
Update eeprom_execute_command() and related code to accommodate both layout aware and layout unaware functions. No functional changes. Cc: Heiko Schocher Cc: Marek Vasut Cc: Simon Glass Cc: Igor Grinberg Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- cmd/eeprom.c | 59

[U-Boot] [PATCH 07/12] arm: cm-t3517: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-T3517. Cc: Igor Grinberg Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- include/configs/cm_t3517.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h index d8a29f0..0

[U-Boot] [PATCH 09/12] arm: cm-t43: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-T43. Cc: Igor Grinberg Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- include/configs/cm_t43.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h index 1c1951c..598e7c1 1

[U-Boot] [PATCH 10/12] eeprom: refactor i2c bus and devaddr parsing

2016-04-16 Thread Nikita Kiryanov
Introduce parse_i2c_bus_addr() to generalize the parsing of i2c bus number and i2c device address. This is done in preparation for merging layout aware and layout unaware command parsing into one function. No functional changes. Cc: Heiko Schocher Cc: Marek Vasut Cc: Simon Glass Cc: Igor Grinb

[U-Boot] [PATCH 08/12] arm: cm-t35: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-T35. Cc: Igor Grinberg Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- include/configs/cm_t35.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index 3910b46..9496e24 1

[U-Boot] [PATCH 06/12] arm: cm-t54: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-T54. Cc: Igor Grinberg Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- include/configs/cm_t54.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/cm_t54.h b/include/configs/cm_t54.h index c8c67c4..8e48128 1

[U-Boot] [PATCH 04/12] arm: cm-fx6: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-FX6. Cc: Igor Grinberg Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- include/configs/cm_fx6.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h index b36ba14..3e6c228 1

Re: [U-Boot] [PATCH] ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE

2016-04-16 Thread Tom Rini
On Fri, Apr 15, 2016 at 08:42:59PM -0600, Stephen Warren wrote: > The Pi firmware has changed the default "kernel" load address for 64-bit > mode. The authors have confirmed that this is a deliberate and long-term > change. Adapt U-Boot to the new value. > > Signed-off-by: Stephen Warren Applie

[U-Boot] [PATCH] Kconfig: Simple aesthetic/grammar fixes to top-level Kconfig

2016-04-16 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- diff --git a/Kconfig b/Kconfig index e7002ed..f53759a 100644 --- a/Kconfig +++ b/Kconfig @@ -1,6 +1,7 @@ # # For a description of the syntax of this configuration file, -# see Documentation/kbuild/kconfig-language.txt. +# see the file Documentation/kbuild/k

[U-Boot] couple questions about tail end of common/Makefile

2016-04-16 Thread Robert P. J. Day
first, this related to CONFIG_FASTBOOT_FLASH: # This option is not just y/n - it can have a numeric value ifdef CONFIG_FASTBOOT_FLASH obj-y += image-sparse.o ifdef CONFIG_FASTBOOT_FLASH_MMC_DEV obj-y += fb_mmc.o endif ifdef CONFIG_FASTBOOT_FLASH_NAND_DEV obj-y += fb_nand.o end

[U-Boot] SYS_MALLOC_SIMPLE versus SPL_SYS_MALLOC_SIMPLE?

2016-04-16 Thread Robert P. J. Day
(WARNING: many potentially dumb questions coming this weekend as i try to put together a u-boot tutorial for some upcoming presentations. please be patient ... ) i had a much longer question about the config option SYS_MALLOC_SIMPLE until i noticed that it doesn't seem to be defined in a Kcon

[U-Boot] what is the rationale for 900+ lines duplicated in common/dlmalloc.c and include/malloc.h?

2016-04-16 Thread Robert P. J. Day
just noticed, in common/dlmalloc.c, the sizable chunk: #if 0 /* Moved to malloc.h */ /* -- To make a malloc.h, start cutting here */ ... several hundred lines ... #ifdef __cplusplus }; /* end of extern "C" */ #endif /* -- To make a