- 16 10月, 2012 14 次提交
-
-
由 Marek Vasut 提交于
Rename .init() to .start() and .uninit() to .stop() in struct serial_device. This allows aligning struct serial_device with closer to struct stdio_dev. The real goal here is to allow these two structures to converge together and eventually make one to be a superset of the other. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Marek Vasut 提交于
Do a simple cleanup of the struct serial_device and align it with current coding style. Checkpatch now reports no errors. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
由 Marek Vasut 提交于
Fix up the rest of implementations of __stringify(). Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de>
-
由 Marek Vasut 提交于
Kill multiple occurances and redeclaration of MK_STR in favor of __stringify(). Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Marek Vasut 提交于
Kill multiple occurances and redeclaration of xstr in favor of __stringify(). Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de>
-
由 Marek Vasut 提交于
Copied from Linux kernel: commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 Date: Wed Apr 8 16:58:57 2009 +0800 Pull in the __stringify() macro from Linux kernel. This macro is usually used to convert numbers to strings at preprocessor level, yet it is not limited only to that. This is useful as it allows higher usage of puts() in favour of printf(). Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de>
-
由 Tom Rini 提交于
We have not strictly speaking relocated at this point, do not claim that we have. This is not required for output. Signed-off-by: NTom Rini <trini@ti.com>
-
由 Tom Rini 提交于
The former maintainer is no longer interested, move to orphaned. Patch is from the former maintainer. Signed-off-by: NTom Rini <trini@ti.com>
-
由 Tom Rini 提交于
After taking with the former maintainer, delete this platform. The patch is from the former maintainer. Signed-off-by: NTom Rini <trini@ti.com>
-
由 Daniel Schwierzeck 提交于
This fixes warnings when compiling with ELDK-5.2.1 for MIPS64: cmd_elf.c: In function 'load_elf_image_phdr': cmd_elf.c:289:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmd_elf.c: In function 'load_elf_image_shdr': cmd_elf.c:343:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmd_elf.c:346:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Daniel Schwierzeck 提交于
[Tom: Move valid_elf_image around and don't mark it as static as another board makes use of this function] Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Daniel Schwierzeck 提交于
This fixes warnings when compiling with ELDK-5.2.1 for MIPS64: vsprintf.c: In function 'put_dec': vsprintf.c:258:9: warning: comparison of distinct pointer types lacks a cast [enabled by default] vsprintf.c:258:3: warning: passing argument 1 of '__div64_32' from incompatible pointer type [enabled by default] include/div64.h:22:17: note: expected 'uint64_t *' but argument is of type 'long long unsigned int *' Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Daniel Schwierzeck 提交于
Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Albert ARIBAUD 提交于
Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option -mno-unaligned-access. Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net> [trini: Switch to usign call cc-option for -mno-unaligned-access as Albert had done previously as that's really correct] Signed-off-by: NTom Rini <trini@ti.com>
-
- 15 10月, 2012 1 次提交
-
-
由 Tom Rini 提交于
Signed-off-by: NTom Rini <trini@ti.com>
-
- 13 10月, 2012 1 次提交
-
-
由 Marek Vasut 提交于
The SPI flash is not properly detected by plain "sf probe" due to it being located on different bus and different chipselect. Fix this problem. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Tom Rini <trini@ti.com>
-
- 09 10月, 2012 10 次提交
-
-
由 Tom Rini 提交于
Signed-off-by: NTom Rini <trini@ti.com>
-
由 Albert ARIBAUD 提交于
The restore sequence in lowlevel_init was in the wrong order, causing lr to lose its original value and be set equal to ip instead. Also, its use of the stack clashes with that of s_init, so move the s_init call after the restore and turn it into a tail-optimized branch. Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net> Tested-by: NJeroen Hofstee <jeroen@myspectrum.nl>
-
由 Anatolij Gustschin 提交于
Fix: yaffs_guts.c: In function 'yaffs_check_chunk_erased': yaffs_guts.c:324:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] yaffs_guts.c: In function 'yaffs_verify_chunk_written': yaffs_guts.c:352:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] yaffs_guts.c: In function 'yaffs_grab_chunk_cache': yaffs_guts.c:1488:6: warning: variable 'pushout' set but not used [-Wunused-but-set-variable] yaffs_guts.c: In function 'yaffs_check_obj_details_loaded': yaffs_guts.c:3180:6: warning: variable 'alloc_failed' set but not used [-Wunused-but-set-variable] yaffs_guts.c:3179:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] yaffs_guts.c: In function 'yaffs_update_oh': yaffs_guts.c:3288:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] yaffs_guts.c: In function 'yaffs_get_obj_name': yaffs_guts.c:4447:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] yaffs_summary.c: In function 'yaffs_summary_read': yaffs_summary.c:194:6: warning: variable 'sum_tags_bytes' set but not used [-Wunused-but-set-variable] yaffs_verify.c: In function 'yaffs_verify_file': yaffs_verify.c:227:6: warning: variable 'actual_depth' set but not used [-Wunused-but-set-variable] yaffs_yaffs1.c: In function 'yaffs1_scan': yaffs_yaffs1.c:26:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] yaffs_yaffs2.c: In function 'yaffs2_scan_chunk': yaffs_yaffs2.c:949:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] yaffs_yaffs2.c: In function 'yaffs2_scan_backwards': yaffs_yaffs2.c:1352:6: warning: variable 'deleted' set but not used [-Wunused-but-set-variable] Signed-off-by: NAnatolij Gustschin <agust@denx.de> Cc: Charles Manning <cdhmanning@gmail.com> Tested-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
-
由 Stephen Warren 提交于
Logically, a disk that contains a raw FAT filesystem does not in fact have a partition table. However, test_part_dos() was claiming that such disks did in fact have a DOS-style partition table. This caused get_device_and_partition() not to return a whole-disk disk_partition_t, since part_type != PART_TYPE_UNKNOWN. part_dos.c's print_partition_extended() detected the raw FAT filesystem condition and printed a fake partition table that encompassed the whole disk. However, part_dos.c's get_partition_info_extended() did not return any valid partitions in this case. This combination caused get_device_and_partition() not to find any valid partitions, and hence to return an error. Fix test_part_dos() not to claim that raw FAT filesystems are DOS partition tables. In turn, this causes get_device_and_partition() to return a whole-disk disk_partition_t, and hence the following commands work: fatls mmc 0 / fatls mmc 0:auto / An alternative would be to modify print_partition_extended() to detect raw FAT filesystems, just like print_partition_extended() does, and to return a fake partition in this case. However, this seems logically incorrect, and also duplicates code, since get_device_and_partition() falls back to returning a whole-disk partition when there is no partition table on the device. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Stephen Warren 提交于
The recent switch to use get_device_and_partition() from do_fat_ls() broke the ability to access a FAT filesystem directly on a whole device; FAT only works within a partition on a device. This change makes e.g. "fatls mmc 0:0" work; explicitly requesting partition ID 0 is something that get_device_and_partition() fully supports. However, fat_register_device() expects partition ID 1 to be used in the full-disk case; partition ID 1 was previously implicitly specified when the user didn't actually specify a partition ID. Update fat_register_device() to expect the correct ID. This change does imply that if a user explicitly executes "fatls mmc 0:1" then this will fail, and may be a change in behaviour. Note that this still prevents "fatls mmc 0:auto" from working. The next patch will fix that. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Tetsuyuki Kobayashi 提交于
lowlevel_init() of rmobile badly assumed that ip register holds return address. The commit "63ee53a7 armv7 cpu_init_crit: Simplify code" breaks this assumption. This patch removes this bad assumption and simplify code. Signed-off-by: NTetsuyuki Kobayashi <koba@kmckk.co.jp>
-
由 Luka Perkov 提交于
The IDE_BUS(dev) macro was previously doing dev >> 1. This however is a mis-match of the usage in common/cmd_ide.c and would cause boards with multiple ports / devices to not correctly detect all devices. For more details please see: http://lists.denx.de/pipermail/u-boot/2012-April/122525.html [Tom Rini: Reword commit message only] Tested-by: NLuka Perkov <uboot@lukaperkov.net> Signed-off-by: NSimon Baatz <gmbnomis@gmail.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Laurence Withers 提交于
Use the standard CMD_RET_* constants to clearly report errors from the pca953x command. In addition, print error messages when I2C communication fails. Signed-off-by: NLaurence Withers <lwithers@guralp.com>
-
由 Laurence Withers 提交于
Signed-off-by: NLaurence Withers <lwithers@guralp.com>
-
由 Rommel Custodio 提交于
The default configuration for ml507 will generate a hang() in the Xilinx uartlite driver. userial_ports[] in drivers/serial/serial_xuartlite.c does not get initialized properly. CONFIG_SERIAL_BASE is unused. XILINX_UARTLITE_BASEADDR is used instead. Signed-off-by: NRommel Custodio <sessyargc+uboot@gmail.com>
-
- 06 10月, 2012 6 次提交
-
-
-
由 Albert ARIBAUD 提交于
This patch aims at ensuring that the 2012.10 release works out-of-the-box on as many targets as possible, by reinstating commit 5347560f5427bcdd48a563b62180481606ac8044, which adds option -mno-unaligned-access to armv7 builds. This patch will be overriden immediately after release of 2012.10.
-
由 Tetsuyuki Kobayashi 提交于
Signed-off-by: NTetsuyuki Kobayashi <koba@kmckk.co.jp>
-
由 Gerlando Falauto 提交于
env default -a -f calls env_check_apply on all existing environment variables with a NULL value for "newval" as a way of cleaning up. This causes string manipulation functions to crash on most architectures. So replace a NULL argument with an empty string. Reported-By: NStefano Babic <sbabic@denx.de> Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com> Tested-by: NStefano Babic <sbabic@denx.de>
-
由 Joe Hershberger 提交于
Instead of referenceing the source webpage (which can change) include the license in the source file. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Reported-by: NIgor Grinberg <grinberg@compulab.co.il> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Acked-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
Due to grown code sizes the TQM85xx boards don't build any more with some older tool chains (like ELDK 4.2). As these boards have long reached EOL it seems a waste of effort trying to fix them. The vendor has agreed to drop support for them, too. So let's get rid of them. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> cc: Kim Phillips <kim.phillips@freescale.com> Acked-by: NStefan Roese <sr@denx.de>
-
- 05 10月, 2012 3 次提交
-
-
由 Nobuhiro Iwamatsu 提交于
The wrong value was set as value of column of DDR memory for ap_sh4a_4a. 10 is the right value. This fixed this problem. Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
-
由 Dinh Nguyen 提交于
Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Signed-off-by: NDinh Nguyen <dinguyen@altera.com> Signed-off-by: NChin Liang See <clsee@altera.com> Signed-off-by: NPavel Machek <pavel@denx.de> Reviewed-by: NMarek Vasut <marex@denx.de> Acked-by: NTom Trini <trini@ti.com> Cc: Wolfgang Denx <wd@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Stefan Roese <sr@denx.de> ---- v8: Remove no_return attribute for reset_cpu Based on v2012.10-rc2
-
- 04 10月, 2012 5 次提交
-
-
由 Ramesh Chandrasekaran 提交于
Without usb-serial cable plugged at this stage, some garbage is seen in UART RX FIFO, which blocks autoboot progress. The fix makes sure to empty the RX FIFO, before we wait for user input to interrupt autoboot. Signed-off-by: NRamesh Chandrasekaran <ramesh.chandrasekaran@stericsson.com>
-
由 Michal Simek 提交于
Add support for Xilinx Zynq board. Signed-off-by: NMichal Simek <monstr@monstr.eu> Acked-by: NMarek Vasut <marex@denx.de> CC: Joe Hershberger <joe.hershberger@gmail.com>
-
由 Michal Simek 提交于
Add timer driver. Signed-off-by: NMichal Simek <monstr@monstr.eu> CC: Joe Hershberger <joe.hershberger@gmail.com> CC: Marek Vasut <marex@denx.de> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Michal Simek 提交于
The driver is used on Xilinx Zynq platform. Signed-off-by: NMichal Simek <monstr@monstr.eu> CC: Joe Hershberger <joe.hershberger@gmail.com> CC: Marek Vasut <marex@denx.de> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Zhong Hongbo 提交于
When the u-boot address of destination equal to __start, no relocation. relocation offset(r9) = 0. Signed-off-by: NZhong Hongbo <bocui107@gmail.com> Tested-by: NStefano Babic <sbabic@denx.de>
-