- Sep 15, 2012
-
-
Marek Vasut authored
In case the "fdt addr" command wasn't ran yet and any other "fdt" subcommand was issued, the system crashed due to NULL pointer being used. This is caused by "fdt addr" command setting up a pointer to the FDT memory location. Prior issuing "fdt addr", the pointer is NULL so calling any other subcommands crashed the u-boot. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org>
-
- Sep 04, 2012
-
-
git://git.denx.de/u-boot-avr32Wolfgang Denk authored
* 'master' of git://git.denx.de/u-boot-avr32 : net:macb: add line break avr32:portmux: fix setup for macb1 avr32: Remove redundant LDSCRIPT definition Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Sep 03, 2012
-
-
Andreas Bießmann authored
Without this patch we see annoying output like this: ---8<--- U-Boot> dhcp macb1: PHY not foundmacb0: PHY present at 1 macb0: Starting autonegotiation... --->8--- Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com> cc: Joe Hershberger <joe.hershberger@gmail.com>
-
Andreas Bießmann authored
Use portd_mask instead of portc_mask to setup the pins for port D. Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
git://git.denx.de/u-boot-ubiWolfgang Denk authored
* 'master' of git://git.denx.de/u-boot-ubi : ubifs: Fix memory leak in ubifs_finddir Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
git://git.denx.de/u-boot-cfi-flashWolfgang Denk authored
* 'master' of git://git.denx.de/u-boot-cfi-flash : cfi: Make the flash erase and write operations abortable cfi: Check for blank before erase Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
git://git.denx.de/u-boot-ppc4xxWolfgang Denk authored
* 'master' of git://git.denx.de/u-boot-ppc4xx : ppc4xx: Canyonlands/Glacier: Squeeze NAND image a bit to fit again Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Stefan Roese authored
This patch fixes a memory leak in ubifs_finddir(). Signed-off-by:
Stefan Roese <sr@denx.de> Cc: dev.ma.dma@gmail.com
-
Stefan Roese authored
This patch removes some superfluous SDRAM init calls to fit the NAND_SPL image into 4k again. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Joe Hershberger authored
Check for ctrlc() in operations that take time and loop over the flash addresses. In netconsole, tstc() is expensive. Only check once in a while to not slow down the operation significantly. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Joe Hershberger authored
Added an optional check in the CFI driver to evaluate if the sector is already blank before issuing an erase command. Improves erase time by over a factor of 10 if already blank. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Sep 02, 2012
-
-
Anatolij Gustschin authored
Since commit 50a47d05 (net: punt bd->bi_ip_addr) booting old 2.4.x ppc kernels is broken due to changed offsets of the fields in struct bd_t. Offsets of the fields after removed bi_ip_addr are wrong, causing wrong bus clocks and console baudrate configurations and various other issues. Re-add the bi_ip_addr field to preserve backward compatibility with older ppc kernels. Setting bi_ip_addr in board.c is not really needed, grepping in the 2.4 linux tree shows that bi_ip_addr is not accessed there. Adding bi_ip_addr to struct bd_t for other arches isn't needed it seems. bd_t is not used by other arches in the 2.4 linux tree. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Acked-by:
Wolfgang Denk <wd@denx.de>
-
Joe Hershberger authored
When a variable which contains a user-supplied value is dereferenced (e.g. to be echo'ed), make sure that the value is not further parsed by hush. Set the hush local variable "HUSH_NO_EVAL=1" to enable this behavior. Without this patch, a sequence like this occurs: Panda # env set my_user_string Bob\'s favorite device Panda # print my_user_string my_user_string=Bob's favorite device Panda # echo $my_user_string syntax error hush.c:3007 With this patch, it looks like this: Panda # HUSH_NO_EVAL=1 Panda # env set my_user_string Bob\'s favorite device Panda # print my_user_string my_user_string=Bob's favorite device Panda # echo $my_user_string Bob's favorite device Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Joe Hershberger authored
Use standard sh syntax: ${VAR:-default} Use default value: if VAR is set and non-null, expands to $VAR. Otherwise, expands to default. ${VAR:=default} Set default value: if VAR is set and non-null, expands to $VAR. Otherwise, sets hush VAR to default and expands to default. ${VAR:+default} If VAR is set and non-null, expands to the empty string. Otherwise, expands to default. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Karl O. Pinc authored
README: Cleanup description of supported partitions. Signed-off-by:
Karl O. Pinc <kop@meme.com>
-
Tom Rini authored
The instructions are generic, so move to the generic doc. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Benoît Thébaudeau authored
Commit 155cb010 replaced the read-only property of the ver env var with an auto-restoring behavior. Update the README file accordingly. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de>
-
Tomáš Hlaváček authored
Signed-off-by:
Tomas <Hlavacek<tmshlvck@gmail.com>
-
Tomas Hlavacek authored
Signed-off-by:
Tomas Hlavacek <tmshlvck@gmail.com>
-
Viktor Krivak authored
Signed-off-by:
Viktor Krivak <viktor.krivak@gmail.com>
-
Pavel Herrmann authored
Signed-off-by:
Pavel Herrmann <morpheus.ibis@gmail.com>
-
Tomas Hlavacek authored
Signed-off-by:
Tomas Hlavacek <tmshlvck@gmail.com>
-
Tomas Hlavacek authored
Signed-off-by:
Tomas Hlavacek <tmshlvck@gmail.com>
-
Viktor Krivak authored
Signed-off-by:
Viktor Krivak <viktor.krivak@gmail.com>
-
Pavel Herrmann authored
Signed-off-by:
Pavel Herrmann <morpheus.ibis@gmail.com>
-
Viktor Krivak authored
Signed-off-by:
Viktor Krivak <viktor.krivak@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marex@denx.de>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Viktor Křivák authored
Signed-off-by:
Viktor Křivák <viktor.krivak@gmail.com>
-
Pavel Herrmann authored
Signed-off-by:
Pavel Herrmann <morpheus.ibis@gmail.com>
-
Marek Vasut authored
This patch contains UDM-design.txt, which is document containing general description of the driver model. The remaining files contains descriptions of conversion process of particular subsystems. Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Stephan Linz authored
On Microblaze with device tree support enabled we run into the error below. I'm not sure, but I think that all source code should include at least the common.h and just this fix the problem on Microblaz architecture. The error is: In file included from key_matrix.c:29: include/malloc.h:364: error: conflicting types for 'memset' include/linux/string.h:71: error: previous declaration of 'memset' was here include/malloc.h:365: error: conflicting types for 'memcpy' include/linux/string.h:74: error: previous declaration of 'memcpy' was here Signed-off-by:
Stephan Linz <linz@li-pro.net> CC: Bernie Thompson <bhthompson@chromium.org> CC: Simon Glass <sjg@chromium.org> CC: Tom Warren <twarren@nvidia.com> CC: Michal Simek <monstr@monstr.eu> Acked-by:
Simon Glass <sjg@chromium.org> Acked-by:
Michal Simek <monstr@monstr.eu>
-
Mike Frysinger authored
The call to SYSTEM_MAP assumes that the u-boot output is in $PWD when it really should be in $(obj). This fixes building out of tree. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Stephen Warren authored
This allows cache flush/invalidate operations to succeed on the buffers. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Simon Glass <sjg@chromium.org> Acked-by:
Scott Wood <scottwood@freescale.com>
-
Jagan Teki authored
This patch adds support to include Load, Entry address and OS tag of ramdisk on to FIT image through mkimage tool. Signed-off-by:
Jagannadha Sutradharudu Teki <402jagan@gmail.com>
-
Benoît Thébaudeau authored
This driver uses the century bit of this RTC in the opposite way Linux does. From Linux's rtc-pcf8563.c: /* * The meaning of MO_C bit varies by the chip type. * From PCF8563 datasheet: this bit is toggled when the years * register overflows from 99 to 00 * 0 indicates the century is 20xx * 1 indicates the century is 19xx * From RTC8564 datasheet: this bit indicates change of * century. When the year digit data overflows from 99 to 00, * this bit is set. By presetting it to 0 while still in the * 20th century, it will be set in year 2000, ... * There seems no reliable way to know how the system use this * bit. So let's do it heuristically, assuming we are live in * 1970...2069. */ As U-Boot's PCF8563 driver does not say it is supposed to support the RTC8564, make this driver compatible with Linux's by giving the opposite meaning to the century bit. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de>
-
Benoît Thébaudeau authored
One call to get_cluster can be factorized with another, so avoid duplicating code. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de>
-
Benoît Thébaudeau authored
Add a buffer bouncing mechanism to get_cluster. This can be useful for misaligned applicative buffers passed through get_contents. This is required for the following patches in the case of data aligned differently relatively to buffers and clusters. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de>
-
Benoît Thébaudeau authored
With the previous code, the remaining prefetched sectors were read again after each sector. With this patch, each sector is read only once, thus making the prefetch useful. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de>
-