| Age | Commit message (Collapse) | Author |
|
revert commit 913a39e9aa4d935948d41cd727d53f5878414a77 as the
disabling of cache need not be done explicitly. Subsequent
patches to new cache management framework has fixed it.
EMAC issue with cache coherency still exists when cahces are
enabled.
Signed-off-by: Manjunath Hadli <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
With malloc support being a new requirement for all ARM SPL
implementations, define a small area for use on devkit8000.
Cc: Frederik Kriewitz <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
FAT library now uses malloc() and free(). But SPL doesn't
have heap until now. Setup a heap in SDRAM to fix this issue.
However this increases SPL footprint beyond the available SRAM
budget. So, compile out some fancy features in the SDARM init
bring back footprint under control
CC: Sandeep Paulraj <[email protected]>
CC: Wolfgang Denk <[email protected]>
Signed-off-by: Aneesh V <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
Signed-off-by: Steve Sakoman <[email protected]>
Acked-by: Koen Kooi <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
All ddr configurations(geometry/timings) are done automatically
by detecting the device connected at run time. Though this
is a useful feature, making this as a default setting increases
the code size by about 2K bytes. This is quite big, especially
in the case of SPL which runs from a smaller SRAM. So do not
use this feature as the default setting, instead use the
precalculated tables.
Signed-off-by: sricharan <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
For files like the drivers/serial/serial.c, it must include the
platform file, as the CONFIG_SYS_NS16550_COM1 must reference to
the definition in the platform definition files.
Include the platform definition file in the config file, so that it
would decouple the dependence for the driver files.
Signed-off-by: Lei Wen <[email protected]>
|
|
This patch adds support for envrionment varaible storage in SPI flash
for Marvell gplugD.
Signed-off-by: Ajay Bhargav <[email protected]>
|
|
This patch enables Atmel AT45 SPI flash support for Marvell gplugD
Enables SF commands.
Signed-off-by: Ajay Bhargav <[email protected]>
|
|
This patch add SPI driver support for Marvell gplugD
Signed-off-by: Ajay Bhargav <[email protected]>
|
|
Copied wholeheartedly from board/Marvell/guruplug and modified to add support
for SPI NOR flash.
CONFIG_MACH_DREAMPLUG defined in include/configs/dreamplug.h until Linus's
kernel.org tree adds it to mach-types.h. Once it trickles down, the definition
can be removed from include/configs/dreamplug.h.
Signed-off-by: Jason Cooper <[email protected]>
|
|
Switch to new pmic generic driver.
Signed-off-by: Stefano Babic <[email protected]>
CC: Fabio Estevam <[email protected]>
|
|
Switch to new pmic generic driver.
Signed-off-by: Stefano Babic <[email protected]>
CC: Fabio Estevam <[email protected]>
|
|
Switch to new pmic generic driver.
Signed-off-by: Stefano Babic <[email protected]>
|
|
Switch to new pmic generic driver.
Signed-off-by: Stefano Babic <[email protected]>
CC: Jason Liu <[email protected]>
Acked-by: Jason Liu <[email protected]>
|
|
Switch to new pmic generic driver.
Signed-off-by: Stefano Babic <[email protected]>
|
|
Switch to new pmic generic driver.
Signed-off-by: Stefano Babic <[email protected]>
|
|
Switch to new pmic generic driver.
Signed-off-by: Stefano Babic <[email protected]>
CC: Marek Vasut <[email protected]>
Acked-by: Marek Vasut <[email protected]>
|
|
Switch to new pmic generic driver.
Signed-off-by: Stefano Babic <[email protected]>
|
|
Switch to new pmic generic driver.
Signed-off-by: Stefano Babic <[email protected]>
|
|
Signed-off-by: Lukasz Majewski <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Cc: Stefano Babic <[email protected]>
|
|
Enable support for new PMIC driver at GONI reference target.
Signed-off-by: Lukasz Majewski <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Cc: Stefano Babic <[email protected]>
|
|
This commit adds support for MAX8998 PMIC driver.
Signed-off-by: Lukasz Majewski <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Cc: Stefano Babic <[email protected]>
|
|
I2C or SPI PMIC devices can be accessed.
Separate files: pmic_i2c.c and pmic_spi.c are responsible
for handling transmission over I2C or SPI bus.
New flags:
CONFIG_PMIC - enable PMIC general device.
CONFIG_PMIC_I2C/SPI - specify the interface to be used.
Signed-off-by: Lukasz Majewski <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Cc: Stefano Babic <[email protected]>
|
|
Adapt vision2 to the current u-boot version. Drop
own macros to set global data and use the common ones.
Signed-off-by: Stefano Babic <[email protected]>
|
|
Add MMC boot configs to devkit8000 config.
Signed-off-by: Simon Schwarz <[email protected]>
|
|
In some cases, saving data in RAM as a file with FAT format is required.
This patch allows the file to be written in FAT formatted partition.
The usage is similar with reading a file.
First, fat_register_device function is called before file_fat_write function
in order to set target partition.
Then, file_fat_write function is invoked with desired file name,
start ram address for writing data, and file size.
Signed-off-by: Donggeun Kim <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
|
|
This library provides useful functions to drivers which want to use
the fdt to control their operation. Functions are provided to:
- look up and enumerate a device type (for example assigning i2c bus 0,
i2c bus 1, etc.)
- decode basic types from the fdt, like addresses and integers
While this library is not strictly necessary, it helps to minimise the
changes to a driver, in order to make it work under fdt control. Less
code is required, and so the barrier to switch drivers over is lower.
Additional functions to read arrays and GPIOs could be made available
here also.
Signed-off-by: Simon Glass <[email protected]>
|
|
This new option allows U-Boot to embed a binary device tree into its image
to allow run-time control of peripherals. This device tree is for U-Boot's
own use and is not necessarily the same one as is passed to the kernel.
The device tree compiler output should be placed in the $(obj)
rooted tree. Since $(OBJCOPY) insists on adding the path to the
generated symbol names, to ensure consistency it should be
invoked from the directory where the .dtb file is located and
given the input file name without the path.
This commit contains my entry for the ugliest Makefile / shell interaction
competition.
Signed-off-by: Simon Glass <[email protected]>
|
|
We need something akin to load_addr to handle saving data.
Signed-off-by: Simon Glass <[email protected]>
|
|
TftpStart should support starting either a get or a put.
Signed-off-by: Simon Glass <[email protected]>
|
|
This is a better name for this protocol. Also remove the typedef to keep
checkpatch happy, and move zeroing of NetBootFileXferSize a little
earlier since TFTPPUT will need to change this.
Signed-off-by: Simon Glass <[email protected]>
|
|
ICMP packets can tell you when there is no server at the other end. It
is useful for tftp to figure this out, so that a quick error can be
displayed, rather than pointlessly retrying.
This adds an ICMP packet handler to the net interface.
Signed-off-by: Simon Glass <[email protected]>
|
|
It seems we put numbers and addresses into environment variables a lot.
We should have some functions to do this.
Signed-off-by: Simon Glass <[email protected]>
|
|
This function is generally useful and shouldn't hide away in hush. It
has been moved as is.
Signed-off-by: Simon Glass <[email protected]>
|
|
Signed-off-by: Joachim Foerster <[email protected]>
|
|
Signed-off-by: Anton Staaf <[email protected]>
Cc: Tom Warren <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Mike Frysinger <[email protected]>
Cc: Albert ARIBAUD <[email protected]>
Change-Id: I5c4bcfc0bfe59158ff249fe3be6640eec6d3cc76
Acked-by: Mike Frysinger <[email protected]>
|
|
This macro is used to allocate cache line size aligned stack
buffers for use with DMA hardware.
Signed-off-by: Anton Staaf <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Mike Frysinger <[email protected]>
Cc: Aneesh V <[email protected]>
Cc: Albert ARIBAUD <[email protected]>
Cc: Wolfgang Denk <[email protected]>
|
|
This reverts commit a2da616311151ecfab8b8fcc510686fc3c0c9a21.
THis was applied by accident - a more recent version of this change
was already present, see commit
9400f8f 2011-10-05 22:03:11 +0200 km_arm: enable POST for these boards
Signed-off-by: Wolfgang Denk <[email protected]>
|
|
Initialize axi_ethernet driver.
Signed-off-by: Michal Simek <[email protected]>
|
|
Some Davinci processors supports the Application
Image Script (AIS) boot process. The patch adds the generation
of the AIS image inside the mkimage tool to make possible
to generate a bootable U-boot without external tools
(TI Davinci AIS Generator).
Signed-off-by: Stefano Babic <[email protected]>
CC: Wolfgang Denk <[email protected]>
|
|
Only one board uses this driver (ns9750dev), but the board doesn't seem
to have an entry to actually build it in the Makefile/boards.cfg, so just
delete net support from its board config.
Signed-off-by: Mike Frysinger <[email protected]>
|
|
This is not an uncommon operation in U-Boot, so let's put it in a common
function.
Signed-off-by: Simon Glass <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
|
|
Init RX/TX ping pong directly from board not in the driver.
Signed-off-by: Michal Simek <[email protected]>
|
|
Baseaddr should be unsigned long.
Signed-off-by: Michal Simek <[email protected]>
|
|
ARCH_DMA_MINALIGN will be used to allocate DMA buffers that are
aligned correctly. In all current cases this means that the DMA
buffer will be aligned to at least the L1 data cache line size of
the configured architecture. If the board configuration file
does not specify the architecture L1 data cache line size then the
maximum line size of the architecture is used to align DMA buffers.
Signed-off-by: Anton Staaf <[email protected]>
Cc: Mike Frysinger <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Ilya Yanok <[email protected]>
Cc: Laurence Withers <[email protected]>
|
|
This removes most checkpatch warnings from the ns16550 driver and its
header.
Signed-off-by: Simon Glass <[email protected]>
|
|
Our boards rely on dtt for initialization of fan hardware.
dtt_init() was implemented to be called form board specific code.
Signed-off-by: Dirk Eibach <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
Tested-by: Heiko Schocher <[email protected]>
|
|
Remove MK_STR from places that consume CONFIG_BOOTFILE to force all definitions to be string literals.
Signed-off-by: Joe Hershberger <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
|
|
Remove MK_STR from places that consume CONFIG_ROOTPATH to force all definitions to be string literals.
Signed-off-by: Joe Hershberger <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
|
|
There are several mdelay() definitions in the driver and
board code. Remove them all and provide a common mdelay()
in lib/time.c.
Signed-off-by: Anatolij Gustschin <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
|