- Nov 02, 2012
-
-
Stefan Reinauer authored
Add a new function to find out the number of available SCSI disks. Also set the 'scsidevs' environment variable after each scan. Signed-off-by:
Stefan Reinauer <reinauer@chromium.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This includes were outside an #ifdef CONFIG_PPC, but there is not reason to exclude powerpc from using them. Move the declaration outside the #ifdef. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Hung-Te Lin authored
Implement write functionality in the scsi layer. A ''scsi write' command is also added to console for testing. Signed-off-by:
Hung-Te Lin <hungte@chromium.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Vadim Bendebury authored
Many AHCI controllers are identical, the main (and often the only) difference being the PCI Vendor ID/Device ID combination reported by the device. This change allows the config file to define a list of PCI vendor ID/device ID pairs. The driver would scan the list and initialize the first device it finds. No actual multiple device list is introduced yet, this change just add the framework. Signed-off-by:
Vadim Bendebury <vbendeb@chromium.org> Signed-off-by:
Taylor Hutt <thutt@chromium.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Vadim Bendebury authored
With an Intel AHCI controller, the driver does not operate properly if the requested amount of blocks to read exceeds 255. It is probably possible to specify 0 as the block count and the driver will read 256 blocks, but it was decided to limit the number of blocks read at once to 128 (it should be a power of 2 for the optimal performance of solid state drives). Signed-off-by:
Vadim Bendebury <vbendeb@chromium.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Stefan Roese authored
This patch fixes the following compile warning: zfs.c:2006:1: warning: 'zfs_label' defined but not used [-Wunused-function] zfs.c:2029:1: warning: 'zfs_uuid' defined but not used [-Wunused-function] Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Jorgen Lundman <lundman@lundman.net>
-
Stefan Roese authored
This patch fixes the following compile warnings: cmd_zfs.c:177:1: warning: initialization from incompatible pointer type [enabled by default] cmd_zfs.c:177:1: warning: (near initialization for '_u_boot_list_cmd_zfsls.cmd') [enabled by default] cmd_zfs.c:182:1: warning: initialization from incompatible pointer type [enabled by default] cmd_zfs.c:182:1: warning: (near initialization for '_u_boot_list_cmd_zfsload.cmd') [enabled by default] Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Jorgen Lundman <lundman@lundman.net>
-
Tom Rini authored
We add CONFIG_ENV_VARS_UBOOT_CONFIG, CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG and CONFIG_BOARD_LATE_INIT to set the variables and then fdtfile and findfdt to make us of this. It is now possible to do 'run findfdt' to have fdtfile be set to the value of the dtb file to load for the board we are running on. Signed-off-by:
Tom Rini <trini@ti.com>
-
Stephen Warren authored
CONFIG_ENV_VARS_UBOOT_CONFIG creates environment variables indicating which configuration U-Boot was built for. Some U-Boot binaries run on multiple boards, and hence this information may not uniquley describe the HW that U-Boot is actually running on. Another patch introduces environment variable board_name to represent that. In order to avoid scripts having to check $board_name, use it if set, and then fall back to using $board, make CONFIG_ENV_VARS_UBOOT_CONFIG also set a default value for board_name, so that variable is always available. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Tom Rini authored
This option is intended to be set by boards which will set the board_name and board_rev environment variables. These are to be used when the U-Boot binary can support more than one board type at run-time and the user needs an easy way (for example for scripting to determine what device tree to load) to determine what board they are on. Signed-off-by:
Tom Rini <trini@ti.com>
-
Simon Glass authored
Grame is still listed since he has agreed to continue with some review. Also add an alias to shorten things. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Wolfgang Denk authored
The %p format of printf() would print a pointer to address null as "(null)". This makes sense in a real OS where a NULL pointer must never be dereferenced, but this is a bootloader, and there are cases where accessing the data at address null makes perfect sense. Remove the special case in lib/vsprintf.c using "#if 0" with a comment to make clear this was an intentional change and to stop re-adding this code. Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Tom Rini authored
When putting pointers into a format string use %p to ensure that they are printed correctly regardless of bitsize. This fixes warnings on sandbox on 64bit systems. Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Gerald Van Baren <vanbaren@cideas.com> Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Stephen Warren authored
Without this, fstypes[].probe points at the wrong place, so calling the function results in undefined behaviour. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Tested-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
- Oct 29, 2012
-
-
Tom Rini authored
When BUILD_NBUILDS is > 1 we run the tidy command. With the addition of DocBook this now includes a -C doc/DocBook and a 'entering/leaving' pair of messages happen. Since we don't want to see what's being cleaned here, we can just invoke make -s like we do when building. Signed-off-by:
Tom Rini <trini@ti.com>
-
Simon Glass authored
Fix the following error in the ext4 command: cmd_ext4.c:110:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Werror=format] Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Stephan Gatzka authored
Deassert the CONFIG pin before asserting it again. This assures that the FPGA will be resetted and therefore configuration will be correctly enabled. This is also already done on other FPGA's, e.g. Stratix. Signed-off-by:
Stephan Gatzka <stephan.gatzka@hbm.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stephen Warren authored
Implement "ls" and "fsload" commands that act like {fat,ext2}{ls,load}, and transparently handle either file-system. This scheme could easily be extended to other filesystem types; I only didn't do it for zfs because I don't have any filesystems of that type to test with. Replace the implementation of {fat,ext[24]}{ls,load} with this new code too. Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Stephen Warren authored
This makes the FAT and ext4 filesystem implementations build if CONFIG_FS_{FAT,EXT4} are defined, rather than basing the build on whether CONFIG_CMD_{FAT,EXT*} are defined. This will allow the filesystems to be built separately from the filesystem-specific commands that use them. This paves the way for the creation of filesystem-generic commands that used the filesystems, without requiring the filesystem- specific commands. Minor documentation changes are made for this change. The new config options are automatically selected by the old config options to retain backwards-compatibility. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Stephen Warren authored
fs/Makefile is unused. The top-level Makefile sets LIBS-y += fs/xxx and hence causes make to directly descend two directory levels into each individual filesystem, and it never descends into fs/ itself. So, delete this useless file. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Jason Jin authored
This patch remove the env saving in NAND as so far the NAND driver is not ported to the M54418TWR platform. Signed-off-by:
Jason Jin <Jason.jin@freescale.com>
-
Jason Jin authored
The M54418TWR lds file need to update since commit: 8b493a52 common: Discard the __u_boot_cmd section The command declaration now uses the new LG-array method to generate list of commands. Thus the __u_boot_cmd section is now superseded and redundant and therefore can be removed. Also, remove externed symbols associated with this section from include/command.h . Signed-off-by:
Jason Jin <Jason.jin@freescale.com>
-
- Oct 28, 2012
-
-
Wolfgang Denk authored
Once more, some of the previous changes caused the code to grow, which causes errors like u-boot.lds:74 cannot move location counter backwards (from 40008384 to 40008000) when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Conn Clark <clark@esteem.com>
-
Wolfgang Denk authored
Once more, some of the previous changes caused the code to grow, which causes errors like u-boot.lds:80 cannot move location counter backwards (from 400082a4 to 40008000) when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
These boards have long reached EOL, and there has been no indication of any active users of such hardware for years. Get rid of the dead weight. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Wolfgang Grandegger <wg@denx.de>
-
- Oct 26, 2012
-
-
git://git.denx.de/u-boot-armTom Rini authored
-
Stephen Warren authored
When -ffunction-sections or -fdata-section are used, symbols are placed into sections such as .data.eserial1_device and .bss.serial_current. Update the linker script to explicitly include these. Without this change (at least with my gcc-4.5.3 built using crosstool-ng), I see that the sections do end up being included, but __bss_end__ gets set to the same value as __bss_start. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Allen Martin <amartin@nvidia.com> Acked-by:
Simon Glass <sjg@chromium.org> Tested-by:
Simon Glass <sjg@chromium.org>
-
Yann Vernier authored
CONFIG_BAUDRATE and KS8695_UART_LINEC_WLEN8 used for UART registers
-
Annamalai Lakshmanan authored
Added clock settings for MFC, FIMC, FB and G3D. They are clocked to maximum respective frequencies as per datasheet. Signed-off-by:
Annamalai Lakshmanan <annamalai.lakshmanan@linaro.org> Signed-off-by:
Giridhar Maruthy <giridhar.maruthy@linaro.org> Signed-off-by:
Inderpal Singh <inderpal.singh@linaro.org> Signed-off-by:
Tushar Behera <tushar.behera@linaro.org>
-
Albert ARIBAUD authored
SX1 does not build properly by itself, is not built as part of MAKEALL arm or MAKEALL -a arm, and is only present in Makefile, not boards.cfg. As it also has no entry in MAINTAINERS, it is orphan and non-functional. Remove it. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Marek Vasut authored
This is a dead code, remove it. Signed-off-by:
Marek Vasut <marex@denx.de>
-
Marek Vasut authored
Clean up away old macros and such, so the file doesn't start piling up cruft. Signed-off-by:
Marek Vasut <marex@denx.de> clean
-
Marek Vasut authored
This driver is no longer used, remove it. Signed-off-by:
Marek Vasut <marex@denx.de>
-
Marek Vasut authored
This stuff has been rotting in the tree for a while now. Remove it. Signed-off-by:
Marek Vasut <marex@denx.de>
-
Marek Vasut authored
This stuff has been rotting in the tree for a year now. Remove it. Signed-off-by:
Marek Vasut <marex@denx.de>
-
Marek Vasut authored
This stuff has been rotting in the tree for a year now. Remove it. Signed-off-by:
Marek Vasut <marex@denx.de>
-
Allen Martin authored
Remove calls to serial_assign() that are failing now that it returns a proper error code. This calls were not actually doing anything because they passed the name of a stdio_dev when a serial_device name is exptectd. Signed-off-by:
Allen Martin <amartin@nvidia.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Simon Glass <sjg@chromium.org> Tested-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stephen Warren <swarren@nvidia.com>
-
Albert ARIBAUD authored
-
Albert ARIBAUD authored
-