- 13 6月, 2009 3 次提交
-
-
由 Peter Tyser 提交于
Use the standard lowercase "xx" capitalization that other Freescale architectures use for CPU defines to prevent confusion and errors Signed-off-by: NPeter Tyser <ptyser@xes-inc.com> Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
由 Wolfgang Denk 提交于
Move needed definitions (register descriptions etc.) from include/mpc512x.h into include/asm-ppc/immap_512x.h. Instead of using a #define'd register offset, use a function that provides the PATA controller's base address. All the rest of include/mpc512x.h are register offset definitions which can be eliminated by proper use of C structures. There are only a few register offsets remaining that are needed in cpu/mpc512x/start.S; for these we provide cpu/mpc512x/asm-offsets.h which is intended as a temporary workaround only. In a later patch this file will be removed, too, and then auto-generated from the respective C structs. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: John Rigby <jcrigby@gmail.com>
-
由 Mike Frysinger 提交于
The kernel stores address<->symbol names in it so things can be decoded at runtime. Do it in U-Boot, and we get nice symbol decoding when crashing. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 05 4月, 2009 1 次提交
-
-
introduce serial_exit for this purpose. Use it only when the rm9200 serial driver is active Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 04 4月, 2009 1 次提交
-
-
由 Wolfgang Denk 提交于
According to the doc/feature-removal-schedule.txt, the "autoscr" command will be replaced by the "source" command in approximately 6 months from now. This patch prepares this change and starts a 6 month transition period as follows: - The new "source" command has been added, which implements exactly the same functionlaity as the old "autoscr" command before - The old "autoscr" command name is kept as an alias for compatibility - Command sequences, script files atc. have been adapted to use the new "source" command - Related environment variables ("autoscript", "autoscript_uname") have *not* been adapted yet; these will be renamed resp. removed in a separate patch when the support for the "autoscr" command get's finally dropped. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 21 3月, 2009 2 次提交
-
-
由 Mike Frysinger 提交于
The environment is the canonical storage location of the mac address, so we're killing off the global data location and moving everything to querying the env directly. Rather than have common ppc code call a board-specific function like load_sernum_ethaddr(), have each board call it in its own board-specific misc_init_r() function. The boards that get converted here are: - kup4k/kup4x - pcs440ep - tqm8xx Signed-off-by: NMike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com> CC: Stefan Roese <sr@denx.de>
-
由 Mike Frysinger 提交于
The environment is the canonical storage location of the mac address, so we're killing off the global data location and moving everything to querying the env directly. Rather than have the common ppc code have board-specific hooks, move the board_get_enetaddr() function into the board-specific init functions. Signed-off-by: NMike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
- 23 2月, 2009 1 次提交
-
-
由 Heiko Schocher 提交于
NetLoop polls every cycle with getenv some environment variables. This is horribly slow, especially when the environment is big. This patch reads only the environment variables in NetLoop, when they were changed. Also moved the init part of the NetLoop function in a seperate function. Signed-off-by: NHeiko Schocher <hs@denx.de> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 27 1月, 2009 1 次提交
-
-
由 Stefan Roese 提交于
This patch adds flush_/invalidate_dcache_range() to the MIPS architecture. Those functions are needed for the upcoming dcache support for the USB EHCI driver. I chose this API because those cache handling functions are already present in the PPC architecture. Signed-off-by: NStefan Roese <sr@denx.de> Signed-off-by: NShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
-
- 07 12月, 2008 1 次提交
-
-
由 Gary Jennejohn 提交于
Modifications to support console multiplexing. This is controlled using CONFIG_SYS_CONSOLE_MUX in the board configuration file. This allows a user to specify multiple console devices in the environment with a command like this: setenv stdin serial,nc. As a result, the user can enter text on both the serial and netconsole interfaces. All devices - stdin, stdout and stderr - can be set in this manner. 1) common/iomux.c and include/iomux.h contain the environment setting implementation. 2) doc/README.iomux contains a somewhat more detailed description. 3) The implementation in (1) is called from common/cmd_nvedit.c to handle setenv and from common/console.c to handle initialization of input/output devices at boot time. 4) common/console.c also contains the code needed to poll multiple console devices for input and send output to all devices registered for output. 5) include/common.h includes iomux.h and common/Makefile generates iomux.o when CONFIG_SYS_CONSOLE_MUX is set. Signed-off-by: NGary Jennejohn <garyj@denx.de>
-
- 02 11月, 2008 1 次提交
-
-
由 Andy Fleming 提交于
There were several, now there is one (two if you count the lower-case versions). Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
- 21 10月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
Round clock frequencies for printing. Many boards printed off clock frequencies like 399 MHz instead of the exact 400 MHz because numberes were not rounded. This is fixed now. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 19 10月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 09 9月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
missing doc_probe() prototype. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 08 9月, 2008 1 次提交
-
-
由 Stefan Roese 提交于
This patch moves some 4xx specific prototypes out of include common.h to a ppc4xx specific header. Signed-off-by: NStefan Roese <sr@denx.de>
-
- 05 9月, 2008 1 次提交
-
-
由 Adam Graham 提交于
Signed-off-by: NAdam Graham <agraham@amcc.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
- 31 8月, 2008 1 次提交
-
-
由 Guennadi Liakhovetski 提交于
Based on the original S3C64XX port by Samsung for U-Boot 1.1.6. Signed-off-by: NGuennadi Liakhovetski <lg@denx.de>
-
- 21 8月, 2008 1 次提交
-
-
由 Haavard Skinnemoen 提交于
ARM, i386, m68k and ppc all have identical implementations of strmhz(). Other architectures don't provide this function at all. This patch moves strmhz() into lib_generic, reducing code duplication and providing a more unified API across architectures. Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- 13 8月, 2008 1 次提交
-
-
由 William Juul 提交于
A lot changed in the Linux MTD code, since it was last ported from Linux to U-Boot. This patch takes U-Boot NAND support to the level of Linux 2.6.22.1 and will enable support for very large NAND devices (4KB pages) and ease the compatibility between U-Boot and Linux filesystems. This patch is tested on two custom boards with PPC and ARM processors running YAFFS in U-Boot and Linux using gcc-4.1.2 cross compilers. MAKEALL ppc/arm has some issues: * DOC/OneNand/nand_spl is not building (I have not tried porting these parts, and since I do not have any HW and I am not familiar with this code/HW I think its best left to someone else.) Except for the issues mentioned above, I have ported all drivers necessary to run MAKEALL ppc/arm without errors and warnings. Many drivers were trivial to port, but some were not so trivial. The following drivers must be examined carefully and maybe rewritten to some degree: cpu/ppc4xx/ndfc.c cpu/arm926ejs/davinci/nand.c board/delta/nand.c board/zylonite/nand.c Signed-off-by: NWilliam Juul <william.juul@tandberg.com> Signed-off-by: NStig Olsen <stig.olsen@tandberg.com> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
- 10 7月, 2008 1 次提交
-
-
由 Andrew Klossner 提交于
The compiler will help find mismatches between printf formats and arguments if you let it. This patch adds the necessary attributes to declarations in include/common.h, then begins to correct the resulting compiler warnings. Some of these were bugs, e.g., "$d" instead of "%d" and incorrect arguments. Others were just annoying, like int-long mismatches on a system where both are 32 bits. It's worth fixing the annoying errors to catch the real ones. Signed-off-by: NAndrew Klossner <andrew@cesa.opbu.xerox.com>
-
- 02 7月, 2008 1 次提交
-
-
由 Steven A. Falco 提交于
Currently, the setenv function does not return an error code. This patch allows to test for errors. Signed-off-by: NSteve Falco <sfalco@harris.com>
-
- 29 6月, 2008 1 次提交
-
-
由 Andy Fleming 提交于
ALIGN() returns the smallest aligned value greater than the passed in address or size. Taken from Linux. Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
- 12 6月, 2008 2 次提交
-
-
由 Becky Bruce 提交于
This patch changes the return type of initdram() from long int to phys_size_t. This is required for a couple of reasons: long int limits the amount of dram to 2GB, and u-boot in general is moving over to phys_size_t to represent the size of physical memory. phys_size_t is defined as an unsigned long on almost all current platforms. This patch *only* changes the return type of the initdram function (in include/common.h, as well as in each board's implementation of initdram). It does not actually modify the code inside the function on any of the platforms; platforms which wish to support more than 2GB of DRAM will need to modify their initdram() function code. Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc MPC8641HPCN. Signed-off-by: NBecky Bruce <becky.bruce@freescale.com>
-
由 Becky Bruce 提交于
Signed-off-by: NBecky Bruce <becky.bruce@freescale.com>
-
- 04 6月, 2008 1 次提交
-
-
由 Haavard Skinnemoen 提交于
AVR32 and AT91SAM9 both have their own identical definitions of container_of() taken from the Linux kernel. Move it to common.h so that all architectures can use it. container_of() is already used by some drivers, and will be used extensively by the new and improved SPI API. Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- 12 5月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
This reverts commit c0559be3 which is known to break booting from dataflash and NAND.
-
- 28 4月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 25 4月, 2008 2 次提交
-
-
由 Bartlomiej Sieka 提交于
Implement watchodg-aware variants of hash calculation functions: - crc32_wd() - md5_wd() - sha1_csum_wd() The above functions calculate the hash of the input buffer in chunks, triggering the watchdog after processing each chunk. The chunk size is given as a function call parameter. Signed-off-by: NBartlomiej Sieka <tur@semihalf.com>
-
in commit fad63407 "make show_boot_progress () weak." show_boot_progress is supposed to be declared as weak but declared as inline instead. Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 24 4月, 2008 2 次提交
-
-
由 Kumar Gala 提交于
eg. because of rounding error we can get 799Mhz instead of 800Mhz. Introduced DIV_ROUND_UP and roundup taken from linux kernel. Signed-off-by: NDejan Minic <minic@freescale.com> Signed-off-by: NSrikanth Srinivasan <srikanth.srinivasan@freescale.com> Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Acked-by: NAndy Fleming <afleming@freescale.com>
-
由 Mike Frysinger 提交于
The envcrc.c does sizeof(unsigned long) when calculating the crc, but this is done with the build toolchain instead of the target tool chain, so if the build is a 64bit system but the target is 32bits, the size will obviously be wrong. This converts all unsigned long stuff related to crc32 to uint32_t types. Compile tested only: output of ./tools/envcrc when run on a 32bit build system matches that of a 64bit build system. Signed-off-by: NMike Frysinger <vapier@gentoo.org> Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 22 4月, 2008 1 次提交
-
-
由 Yuri Tikhonov 提交于
Introduce the new logical option CONFIG_HAS_POST which is set when the platform has CONFIG_POST set. Use CONFIG_HAS_POST in the post/ Makefiles to determine should the POST libs be compiled for the selected target platform, or not. To avoid breaking u-boot linking process, the empty post/libpost.a file is created for platforms which do not have POSTs. Signed-off-by: NYuri Tikhonov <yur@emcraft.com> Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 18 4月, 2008 1 次提交
-
-
由 Joakim Tjernlund 提交于
This avoids an early global data reference. Signed-off-by: NJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
-
- 27 3月, 2008 2 次提交
-
-
由 Kumar Gala 提交于
The following changes are needed to be inline with ePAPR v0.81: * r4, r5 and now always set to 0 on boot release * r7 is used to pass the size of the initial map area (IMA) * EPAPR_MAGIC value changed for book-e processors * changes in the spin table layout * spin table supports a 64-bit physical release address Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
Added the cpu command that provides a generic mechanism to get status, reset, and release secondary cores in multicore processors. Added support for using the ePAPR defined spin-table mechanism on 85xx. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 15 3月, 2008 1 次提交
-
-
由 Stefan Roese 提交于
This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by: NStefan Roese <sr@denx.de>
-
- 12 3月, 2008 1 次提交
-
-
由 Marian Balakowicz 提交于
autoscript() routine is updated to accept second argument, which is only used for FIT images and provides a FIT subimage unit name. autoscript() routine callers must now pass two arguments. For non-interactive use (like in cmd_load.c, cmd_net.c), new environment variable 'autoscript_uname' is introduced and used as a FIT subimage unit name source. autoscript command accepts extended syntax of the addr argument: addr:<subimg_uname> Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
- 22 2月, 2008 1 次提交
-
-
由 Marian Balakowicz 提交于
Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
- 15 2月, 2008 1 次提交
-
-
由 Anatolij Gustschin 提交于
Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
- 14 2月, 2008 1 次提交
-
-
由 Mike Frysinger 提交于
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-