[U-Boot] [PATCH] powerpc: Add accessor macros for TCR[WPEXT] and TCR[FPEXT]

2013-03-14 Thread Horst Kronstorfer
Information retrieved from EREF 2.0 (Rev.0 09/2011) pp.107-109. Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- arch/powerpc/include/asm/processor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h

[U-Boot] [PATCH RESEND] mpc85xx: Fix a compiler warning when CONFIG_WATCHDOG is turned on

2013-03-13 Thread Horst Kronstorfer
cpu.c:288:2: warning: implicit declaration of function 'reset_85xx_watchdog' [-Wimplicit-function-declaration] Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- arch/powerpc/cpu/mpc85xx/cpu.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch

[U-Boot] [PATCH v2] mpc85xx: Fix a compiler warning when CONFIG_WATCHDOG is turned on

2013-03-13 Thread Horst Kronstorfer
cpu.c:288:2: warning: implicit declaration of function 'reset_85xx_watchdog' [-Wimplicit-function-declaration] Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- Changes for v2: - Fix formatting - Fix checkpatch findings arch/powerpc/cpu/mpc85xx/cpu.c | 18 ++ 1

[U-Boot] [PATCH] mpc85xx: Fix a compiler warning when CONFIG_WATCHDOG is turned on

2013-02-15 Thread Horst Kronstorfer
cpu.c:288:2: warning: implicit declaration of function 'reset_85xx_watchdog' [-Wimplicit-function-declaration] Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- arch/powerpc/cpu/mpc85xx/cpu.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch

Re: [U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific predefined macros

2012-07-26 Thread Horst Kronstorfer
On 07/25/2012 06:06 PM, Mike Frysinger wrote: On Tuesday 24 July 2012 15:38:55 Horst Kronstorfer wrote: On 07/24/2012 05:28 PM, Mike Frysinger wrote: On Tuesday 24 July 2012 06:11:04 Horst Kronstorfer wrote: On 07/19/2012 05:22 AM, Mike Frysinger wrote: On Friday 13 July 2012 09:03:40 Horst

[U-Boot] [PATCH,v2] dts/Makefile: Turn off some predefined macros

2012-07-26 Thread Horst Kronstorfer
of '#define linux 1.' Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- Changes in v2: - Use '-ansi' instead of '-undef.' dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/Makefile b/dts/Makefile index 402dfe1..3c6bc18 100644 --- a/dts

Re: [U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific predefined macros

2012-07-24 Thread Horst Kronstorfer
On 07/19/2012 05:22 AM, Mike Frysinger wrote: On Friday 13 July 2012 09:03:40 Horst Kronstorfer wrote: Add '-undef' to DTS_CPPFLAGS to avoid unwanted expansion of dts content that matches system-specific or gcc-specific predefined macros. Example: A number of PowerPC related *.dts files

Re: [U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific predefined macros

2012-07-24 Thread Horst Kronstorfer
On 07/24/2012 05:28 PM, Mike Frysinger wrote: On Tuesday 24 July 2012 06:11:04 Horst Kronstorfer wrote: On 07/19/2012 05:22 AM, Mike Frysinger wrote: On Friday 13 July 2012 09:03:40 Horst Kronstorfer wrote: Add '-undef' to DTS_CPPFLAGS to avoid unwanted expansion of dts content that matches

[U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific predefined macros

2012-07-13 Thread Horst Kronstorfer
' by the preprocessor because of '#define linux 1.' With '-undef' in place only the standard predefined macros are visible: $ gcc -dM -E -undef - /dev/null #define __STDC_HOSTED__ 1 #define __STDC__ 1 Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- dts/Makefile | 2 +- 1 file

[U-Boot] [PATCH] dts/Makefile: Check for empty $(LDSCRIPT)

2012-07-12 Thread Horst Kronstorfer
Make sure that $(LDSCRIPT) is not empty before calling process_lds with 'cat $(LDSCRIPT)' else cat will block waiting for input from stdin. Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- dts/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dts

Re: [U-Boot] [PATCH] mkenvimage: Fix compiler warning

2012-04-06 Thread Horst Kronstorfer
On 04/06/2012 08:00 AM, Dirk Behme wrote: From: Dirk Behmedirk.be...@googlemail.com Fix the compiler warning mkenvimage.c: In function ‘main’: mkenvimage.c:218: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’ mkenvimage.c:226: warning: format ‘%ld’

[U-Boot] [PATCH] tools/mkenvimage.c: Fix a merge issue

2011-12-24 Thread Horst Kronstorfer
With bfcc40bb09b05c90cc3b1496abb270eb8aa72134 'optopt' was reverted. Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- tools/mkenvimage.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index c5ed373..8ee2bd0 100644

Re: [U-Boot] [PATCH] tools/mkenvimage.c: Fix a merge issue

2011-12-24 Thread Horst Kronstorfer
On 12/24/2011 03:57 PM, Wolfgang Denk wrote: Dear Horst Kronstorfer, In message1324723318-32752-1-git-send-email-hkron...@frequentis.com you wrote: With bfcc40bb09b05c90cc3b1496abb270eb8aa72134 'optopt' was reverted. Signed-off-by: Horst Kronstorferhkron...@frequentis.com --- tools

[U-Boot] [PATCH] doc/mkimage.1: Fix -D/-f options formatting

2011-12-23 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- doc/mkimage.1 |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/mkimage.1 b/doc/mkimage.1 index 800aed4..39652c8 100644 --- a/doc/mkimage.1 +++ b/doc/mkimage.1 @@ -82,12 +82,12 @@ Set XIP (execute in place

[U-Boot] [PATCH v2] Print program basename instead of whole path in usage()

2011-12-21 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- Changes for v2: - Use the GNU version of basename(). - Rebased against branch 'next.' tools/mkenvimage.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/tools/mkenvimage.c b/tools

[U-Boot] [PATCH] doc/mkimage.1: Fix some typos

2011-12-21 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- doc/mkimage.1 | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/mkimage.1 b/doc/mkimage.1 index f27da6b..800aed4 100644 --- a/doc/mkimage.1 +++ b/doc/mkimage.1 @@ -9,13 +9,13 @@ mkimage \- Generate

[U-Boot] [PATCH, v3] Print program basename instead of whole path in usage()

2011-12-21 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- Changes for v2: - Use the GNU version of basename(). - Rebase against branch 'next.' Changes for v3: - Rebase against branch 'master.' tools/mkenvimage.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions

[U-Boot] [PATCH] common/cmd_nvedit.c: Fix size calculation in do_env_import()

2011-12-17 Thread Horst Kronstorfer
do_env_import() missed the final '\0' terminator when calculating the size of an environment data block. This led to an erroneous 'bad CRC, import failed' message for a checksum protected environment (-c.) Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- common/cmd_nvedit.c |2

[U-Boot] [PATCH] common/cmd_nvedit.c: Add missing 'env save' preproc guard

2011-12-10 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- common/cmd_nvedit.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 5995354..baaa513 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -977,7 +977,9

[U-Boot] [PATCH 1/4] mkenvimage: Fix some typos

2011-12-05 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- tools/mkenvimage.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index 9c32f4a..b7b0e0f 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -116,7 +116,7

[U-Boot] [PATCH 3/4] mkenvimage: Print program basename instead of whole path in usage()

2011-12-05 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- tools/mkenvimage.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index 22d1b88..3e7f967 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -79,6

[U-Boot] [PATCH 2/4] mkenvimage: Fix getopt() error handling

2011-12-05 Thread Horst Kronstorfer
Since the original implementation indicates explicit error handling we turn off getopt()'s internal error messaging to avoid duplicate error messages. Additionally we add ':' (missing option argument) error handling. Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- tools

[U-Boot] [PATCH 4/4] mkenvimage: Add version info switch (-V)

2011-12-05 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- tools/mkenvimage.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index 3e7f967..046661d 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -36,6 +36,7

[U-Boot] [PATCH] Makefile: add tools/mkenvimage to target 'clean'

2011-11-29 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index d84b350..b1f9044 100644 --- a/Makefile +++ b/Makefile @@ -751,7 +751,7 @@ clean: $(obj)tools/envcrc

[U-Boot] [PATCH] Let target 'cscope' follow symbolic links

2011-07-14 Thread Horst Kronstorfer
Without telling 'find' to follow symbolic links, files under include/asm and arch/$(ARCH)/include/asm/arch are not added to the cscope file list. Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH] Fixed two typos in arch/powerpc/cpu/mpc83xx/start.S.

2010-05-18 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- arch/powerpc/cpu/mpc83xx/start.S |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/start.S b/arch/powerpc/cpu/mpc83xx/start.S index a7c8079..aa263e3 100644 --- a/arch/powerpc/cpu

[U-Boot] [PATCH] Added PCI_DEVICE_ID_PLX_9030.

2010-05-04 Thread Horst Kronstorfer
HOHO! Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- include/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/pci_ids.h b/include/pci_ids.h index edfdc1e..e051d7c 100644 --- a/include/pci_ids.h +++ b/include/pci_ids.h @@ -882,6 +882,7

[U-Boot] [PATCH v2] Added PCI_DEVICE_ID_PLX_9030.

2010-05-04 Thread Horst Kronstorfer
Added PCI device ID for the PLXTech PCI 9030 bridge. Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- include/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/pci_ids.h b/include/pci_ids.h index edfdc1e..e051d7c 100644 --- a/include/pci_ids.h