- 25 10月, 2011 8 次提交
-
-
由 Anton staaf 提交于
Currently the mmc_change_freq and mmc_startup functions allocates buffers on the stack that are passed down to the MMC device driver. These buffers could be unaligned to the L1 dcache line size. This causes problems when using DMA and with caches enabled. This patch correctly cache alignes the buffers used for reading the ext_csd data from an MMC device. Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
由 Anton staaf 提交于
Currently, if a device read request is done that does not begin or end on a sector boundary a stack allocated bounce buffer is used to perform the read, and then just the part of the sector that is needed is copied into the users buffer. This stack allocation can mean that the bounce buffer will not be aligned to the dcache line size. This is a problem when caches are enabled because unaligned cache invalidates are not safe. This patch uses ALLOC_CACHE_ALIGN_BUFFER to create a stack allocated cache line size aligned bounce buffer. Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Dave Liu <r63238@freescale.com> Cc: Andy Fleming <afleming@gmail.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Change-Id: I32e1594d90ef039137bb219b0f7ced55768744ff Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Anton staaf 提交于
Currently the sd_change_freq function allocates two buffers on the stack that it passes down to the MMC device driver. These buffers could be unaligned to the L1 dcache line size. This causes problems when using DMA and with caches enabled. This patch correctly cache alignes the buffers used for reading the scr register and switch status values from an MMC device. Change-Id: Ifa8414f572ef907681bd2d5ff3950285a215357d Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Anton staaf 提交于
Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Tom Warren <twarren.nvidia@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Change-Id: I5c4bcfc0bfe59158ff249fe3be6640eec6d3cc76 Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Anton staaf 提交于
This macro is used to allocate cache line size aligned stack buffers for use with DMA hardware. Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Aneesh V <aneesh@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Wolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
This reverts commit a2da6163. THis was applied by accident - a more recent version of this change was already present, see commit 9400f8fa 2011-10-05 22:03:11 +0200 km_arm: enable POST for these boards Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Simon Glass 提交于
Commit dc8bbea0 removed a local variable that is used in most ARM boards. Since we want to avoid an 'unused variable' warning with later compilers, and the #ifdef logic of whether this variable is required is bit painful, this declares the variable local to the block of code that needs it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Commit 1272592e introduced a warning since the variable 's' is no longer always used, depending on the CONFIG options. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 24 10月, 2011 32 次提交
-
-
由 Stefano Babic 提交于
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: NStefano Babic <sbabic@denx.de> CC: Wolfgang Denk <wd@denx.de>
-
由 Mike Frysinger 提交于
This driver doesn't support the NET_MULTI framework, and I can't find any boards/configs/files that reference this subdir, so punt it all. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
No boards appear to use this driver, and it doesn't support NET_MULTI, so punt the old driver. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
No boards appear to use this driver, and it doesn't support NET_MULTI, so punt the old driver. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
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: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
Everyone seems to have converted to the new enc28j60 driver, so drop this older one which isn't used and doesn't support NET_MULTI. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Bernhard Kaindl 提交于
The call to run_post(POST_ROM) which can run the POST memory test is currently called too late when gd has already been copied to DRAM. This results in failure to boot Linux after a POST_ROM memory test tested all RAM while gd was already relocated to DRAM due to gd being overwritten by the POST_ROM memory test. Support this by moving the call to run_post(POST_ROM) to run earlier, before U-Boot has started to move data to DRAM (from late board_init_f to early board_init_f) where DRAM is initialized, but not used yet. This allows that an POST memory test can test the whole DRAM, including the area where the board info struct is located. Signed-off-by: NBernhard Kaindl <bernhard.kaindl@thalesgroup.com> Cc: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl>
-
由 Bernhard Kaindl 提交于
net/dns.c used endian conversion macros wrongly (shorts in reply were put swapped into CPU, and then ntohs() was used to swap it back, which broke on big-endian). Fix this by using the correct linux conversion macro for reading a unaligned short in network byte order: get_unaligned_be16() Thanks to Mike Frysinger pointing at the best macro to use. Tested on big and little endian qemu boards (mips and versatile) Signed-off-by: NBernhard Kaindl <bernhard.kaindl@thalesgroup.com> Cc: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl> Cc: Robin Getz <rgetz@blackfin.uclinux.org> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Simon Glass 提交于
This changes the board code to use the new getenv_ulong() function. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This changes the board code to use the new getenv_ulong() function. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This changes the board code to use the new getenv_ulong() function. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NStefan Roese <sr@denx.de>
-
由 Simon Glass 提交于
This changes the board code to use the new getenv_ulong() function. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This changes the board code to use the new getenv_ulong() function. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This changes the board code to use the new getenv_ulong() function. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This changes the board code to use the new getenv_ulong() function. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Simon Glass 提交于
This changes the board code to use the new getenv_ulong() function. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This changes the board code to use the new getenv_ulong() function. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This is not an uncommon operation in U-Boot, so let's put it in a common function. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Daniel Schwierzeck 提交于
In commit fa28bd2e patch v1 was applied instead of v2. This is an incremental patch to update that commit to version 2. Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
-
由 Michal Simek 提交于
Init RX/TX ping pong directly from board not in the driver. Signed-off-by: NMichal Simek <monstr@monstr.eu>
-
由 Michal Simek 提交于
Baseaddr should be unsigned long. Signed-off-by: NMichal Simek <monstr@monstr.eu>
-
由 Heiko Schocher 提交于
commit 8d3fcb5e breaks post memory support for sdram base != 0x00000000. Fix this. Signed-off-by: NHeiko Schocher <hs@denx.de> Cc: Valentin Longchamp <valentin.longchamp@keymile.com> Cc: Holger Brunck <holger.brunck@keymile.com> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Shaohui Xie 提交于
Signed-off-by: NShaohui Xie <Shaohui.Xie@freescale.com>
-
由 Anton Staaf 提交于
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: NAnton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Ilya Yanok <yanok@emcraft.com> Cc: Laurence Withers <lwithers@guralp.com>
-
由 Anton Staaf 提交于
Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Graeme Russ <graeme.russ@gmail.com>
-
由 Anton Staaf 提交于
Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Shinya Kuribayashi <skuribay@pobox.com>
-
由 Anton Staaf 提交于
Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Michal Simek <monstr@monstr.eu>
-
由 Anton Staaf 提交于
Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Reinhard Meyer <u-boot@emk-elektronik.de>
-
由 Anton Staaf 提交于
Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Daniel Hellstrom <daniel@gaisler.com>
-
由 Anton Staaf 提交于
Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
由 Anton Staaf 提交于
Signed-off-by: NAnton Staaf <robotboy@chromium.org> Acked-by: NStefan Roese <sr@denx.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de>
-
由 Anton Staaf 提交于
Signed-off-by: NAnton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Scott McNutt <smcnutt@psyent.com>
-