TsiChung Liew [Fri, 1 Aug 2008 00:52:28 +0000 (19:52 -0500)]
Fix compile error caused by incorrect function return type
Rename int mii_init(void) to void mii_init(void) for idmr
ColdFire platform
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Wolfgang Denk [Thu, 31 Jul 2008 15:54:03 +0000 (17:54 +0200)]
Prepare v1.3.4-rc2: update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Thu, 31 Jul 2008 15:50:37 +0000 (17:50 +0200)]
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Mark Jackson [Thu, 31 Jul 2008 15:09:00 +0000 (16:09 +0100)]
Add gzipped logo support
The README file states that CONFIG_VIDEO_BMP_GZIP behaves as follows:
If this option is set, additionally to standard BMP
images, gzipped BMP images can be displayed via the
splashscreen support or the bmp command.
However, the splashscreen function *only* supports standard BMP images.
This patch adds the documented gzip support.
Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
Mark Jackson [Thu, 31 Jul 2008 14:56:48 +0000 (15:56 +0100)]
Fix Atmel LCD controller endianess for AVR32 processors
The Atmel lcd controller is used on Atmel's AT91 (little endian) and
AVR32 (big endian) platforms.
As such, the controller can handle both big and little endian memory.
This patch fixes the driver for the AVR32 platform.
Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
Jean-Christophe PLAGNIOL-VILLARD [Thu, 31 Jul 2008 13:56:01 +0000 (15:56 +0200)]
apollon: fix build out of tree
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Guennadi Liakhovetski [Thu, 31 Jul 2008 10:35:04 +0000 (12:35 +0200)]
Uncompressed images loaded to their start address shall set load_end too
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
Wolfgang Denk [Wed, 16 Jul 2008 14:38:59 +0000 (16:38 +0200)]
Fix printf() format problems with configurable prompts
U-Boot allows for configurable prompt strings using the
CONFIG_AUTOBOOT_PROMPT resp. CONFIG_MENUPROMPT definitions. So far,
the assumption was that any such user defined problts would contain
exactly one "%d" format specifier. But some boards did not.
To allow for flexible boot prompts without adding too complex code we
now allow to specify the whole list of printf() arguments in the user
definition. This is powerful, but requires a responsible user who
really understands what he is doing, as he needs to know for exanple
which variables are available in the respective context.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Thu, 31 Jul 2008 15:02:14 +0000 (17:02 +0200)]
TQM85xx: fix typo introduce by commit
ffbb5cb9
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Thu, 31 Jul 2008 13:27:01 +0000 (15:27 +0200)]
mvbc_p board: fix most build warnings.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Thu, 31 Jul 2008 11:57:20 +0000 (13:57 +0200)]
E1000: clean up CONFIG_E1000_FALLBACK_MAC handling
Avoid "integer constant is too large for 'long' type" warnings.
And simplify the code.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Thu, 31 Jul 2008 10:30:40 +0000 (12:30 +0200)]
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Matvejchikov Ilya [Wed, 30 Jul 2008 19:21:19 +0000 (23:21 +0400)]
8260: Making the use of gd->pci_clk dependant on the CONFIG_PCI
Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
Matvejchikov Ilya [Wed, 30 Jul 2008 19:20:32 +0000 (23:20 +0400)]
PPC: Add pci_clk in the global_data for CPM2 processors
This patch adds pci_clk field to the global_data structure for the
processors which have CPM2 module in case the CONFIG_PCI is defined.
Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
Kumar Gala [Wed, 30 Jul 2008 19:13:30 +0000 (14:13 -0500)]
mpc85xx: Update linker scripts for Freescale boards
* Move to using absolute addressing always. Makes the scripts a bit more
portable and common
* Moved .bss after the end of the image. These allows us to have more
room in the resulting binary image for code and data.
* Removed .text object files that aren't really needed
* Make sure _end is 4-byte aligned as the .bss init code expects this.
(Its possible that the end of .bss isn't 4-byte aligned)
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 30 Jul 2008 13:01:15 +0000 (08:01 -0500)]
Fix compile warnings in dlmalloc
The origional code was using on odd reference to get to the first
real element in av_[]. The first two elements of the array are
not used for actual bins, but for house keeping. If we are more
explicit about how use the first few elements we can get rid of the
warnings:
dlmalloc.c: In function 'malloc_extend_top':
dlmalloc.c:1971: warning: dereferencing type-punned pointer will break strict-aliasing rules
dlmalloc.c:1999: warning: dereferencing type-punned pointer will break strict-aliasing rules
dlmalloc.c:2029: warning: dereferencing type-punned pointer will break strict-aliasing rules
...
The logic of how this code came to be is:
bin_at(0) = (char*)&(av_[2]) - 2*SIZE_SZ
SIZE_SZ is the size of pointer, and av_ is arry of pointers so:
bin_at(0) = &(av_[0])
Going from there to bin_at(0)->fd or bin_at(0)->size should be straight forward.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Stefan Roese [Wed, 30 Jul 2008 08:21:01 +0000 (10:21 +0200)]
ppc4xx: Fix W7OLMG compile problems by adding missing LM75 defines
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Wed, 30 Jul 2008 07:59:51 +0000 (09:59 +0200)]
cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)'
A recent patch used '#if (CONFIG_CMD_USB)' instead of
'#if defined(CONFIG_CMD_USB)'. This patch fixes this problem and makes
common/bootm.c compile again.
Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Markus Klotzbuecher <mk@denx.de>
Kyungmin Park [Mon, 21 Jul 2008 23:01:43 +0000 (08:01 +0900)]
Remove unused I2C at apollon board
There are no I2C devices on this board.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Wolfgang Denk [Thu, 31 Jul 2008 08:12:09 +0000 (10:12 +0200)]
at91rm9200dk, csb637: fix NAND related build problems
Tried fixing NAND support for the at91rm9200dk board; untested.
Disabled NAND support in the csb637 board config file.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Thu, 31 Jul 2008 07:02:41 +0000 (09:02 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Thu, 31 Jul 2008 07:02:03 +0000 (09:02 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-avr32
Kumar Gala [Tue, 29 Jul 2008 17:23:49 +0000 (12:23 -0500)]
fsl_i2c: Use timebase timer functions instead of get_timer()
The current implementation of get_timer() is only really useful after we
have relocated u-boot to memory. The i2c code is used before that as part
of the SPD DDR setup.
We actually have a bug when using the get_timer() code before relocation
because the .bss hasn't been setup and thus we could be reading/writing
a random location (probably in flash).
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Wolfgang Denk [Tue, 29 Jul 2008 23:24:07 +0000 (01:24 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mips
Frank Svendsbøe [Tue, 29 Jul 2008 12:49:31 +0000 (14:49 +0200)]
Adder8xx: Fix CFG_MONITOR_LEN
Due to increased space usage, U-Boot can no longer be stored in three sectors.
The current U-Boot use just over three flash sectors (197k), and U-Boot will
become corrupt after saving environment variables. This patch adds another 64k
to CFG_MONITOR_LEN.
Signed-off-by: Frank E. Svendsbøe <frank.svendsboe@gmail.com>
Kyungmin Park [Mon, 28 Jul 2008 23:47:57 +0000 (08:47 +0900)]
Add OneNAND IPL related files to gitignore
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Rafal Jaworowski [Mon, 28 Jul 2008 18:38:25 +0000 (20:38 +0200)]
API: Teach the storage layer about SATA and MMC options.
Signed-off-by: Rafal Czubak <rcz@semihalf.com>
Acked-by: Rafal Jaworowski <raj@semihalf.com>
Rafal Jaworowski [Mon, 28 Jul 2008 18:37:48 +0000 (20:37 +0200)]
API: Dump contents of sector 0 in the demo application.
Signed-off-by: Rafal Czubak <rcz@semihalf.com>
Acked-by: Rafal Jaworowski <raj@semihalf.com>
Rafal Jaworowski [Mon, 28 Jul 2008 18:37:10 +0000 (20:37 +0200)]
API: Correct storage enumeration routine, other minor fixes in API storage area.
Signed-off-by: Rafal Czubak <rcz@semihalf.com>
Acked-by: Rafal Jaworowski <raj@semihalf.com>
Rafal Jaworowski [Mon, 28 Jul 2008 18:36:19 +0000 (20:36 +0200)]
API: Fix compilation warnings in api_examples/demo.c.
Signed-off-by: Rafal Czubak <rcz@semihalf.com>
Jean-Christophe PLAGNIOL-VILLARD [Sun, 27 Jul 2008 15:09:43 +0000 (17:09 +0200)]
Fix more printf() format warnings
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Fri, 25 Jul 2008 13:18:16 +0000 (15:18 +0200)]
Fix remaining CFG_CMD_ define, ifdef and comments
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Stefano Babic [Fri, 25 Jul 2008 06:57:40 +0000 (08:57 +0200)]
Add include for config.h in command.h.
Because the cmd_tbl_s structure depends on the configuration file, it
must be assured that config.h is included before the structure is
evaluated by the compiler. If this is not certain, it could happen
that the compiler generates structures of different size, depending
on the fact if the source file includes <config.h> before or after
<command.h>.
The effect is that u-boot crashes when tries to relocate the command
table (for ppc) or try to access to the command table for other
architectures.
The problem can happen on board-depending commands. All general
commands under /common are unaffected, because they include already
config.h before command.h.
Signed-off-by: Stefano Babic <sbabic@denx.de>
Scott Wood [Wed, 23 Jul 2008 18:16:06 +0000 (13:16 -0500)]
NAND: $(obj)-qualify ecc.h in kilauea NAND boot Makefile.
This fixes building out-of-tree.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Heiko Schocher [Wed, 23 Jul 2008 05:30:46 +0000 (07:30 +0200)]
Fix warnings if compiling with IDE support.
cmd_ide.c:827: Warnung: weak declaration of `ide_outb' after first use results in unspecified behavior
cmd_ide.c:839: Warnung: weak declaration of `ide_inb' after first use results in unspecified behavior
Signed-off-by: Heiko Schocher <hs@denx.de>
Adrian Filipi [Tue, 22 Jul 2008 18:28:11 +0000 (14:28 -0400)]
Removed support for the adsvix board.
Support for the adsvix was originally provided by Applied Data
Systems (ADS), inc., now EuroTech, Inc.
The board never shipped aside from some sample boards.
Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
Remy Bohmer [Tue, 22 Jul 2008 14:22:11 +0000 (16:22 +0200)]
ARM: set GD_FLG_RELOC for boards skipping relocation to RAM
If CONFIG_SKIP_RELOCATE_UBOOT is set the flag GD_FLG_RELOC is usually
never set, because relocation to RAM is actually never done by U-boot
itself. However, several pieces of code check if this flag is set at
some time.
So, to make sure this flag is set on boards skipping relocation, this
is added to the initialisation of U-boot at a moment where it is safe
to do so.
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Timur Tabi [Mon, 21 Jul 2008 19:26:23 +0000 (14:26 -0500)]
fsl-i2c: fix writes to data segment before relocation
Prevent i2c_init() in fsl_i2c.c from writing to the data segment before
relocation. Commit
d8c82db4 added the ability for i2c_init() to program the
I2C bus speed and save the value in i2c_bus_speed[], which is a global
variable. It is an error to write to the data segment before relocation,
which is what i2c_init() does when it stores the bus speed in i2c_bus_speed[].
Signed-off-by: Timur Tabi <timur@freescale.com>
Wolfgang Ocker [Mon, 28 Jul 2008 14:56:51 +0000 (16:56 +0200)]
mips: Fix baudrate divisor computation on alchemy cpus
Use CFG_MIPS_TIMER_FREQ when computing the baudrate divisor
on alchemy cpus.
Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Haavard Skinnemoen [Thu, 24 Jul 2008 10:42:31 +0000 (12:42 +0200)]
Merge branch 'format-warnings' of git://git.denx.de/u-boot-avr32
Haavard Skinnemoen [Wed, 23 Jul 2008 08:55:46 +0000 (10:55 +0200)]
spi flash: Fix printf() format warnings
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Haavard Skinnemoen [Wed, 23 Jul 2008 08:55:31 +0000 (10:55 +0200)]
atmel_mci: Fix printf() format warnings
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Haavard Skinnemoen [Wed, 23 Jul 2008 08:55:15 +0000 (10:55 +0200)]
avr32: Fix printf() format warnings
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Haavard Skinnemoen [Wed, 23 Jul 2008 08:52:19 +0000 (10:52 +0200)]
avr32: asm/io.h needs asm/types.h
map_physmem() takes a phys_addr_t as parameter. This type is defined in
asm/types.h, so we need to include that file.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Michal Simek [Thu, 17 Jul 2008 10:25:46 +0000 (12:25 +0200)]
microblaze: Fix printf() format issues
Signed-off-by: Michal Simek <monstr@monstr.eu>
Gururaja Hebbar K R [Thu, 17 Jul 2008 01:57:51 +0000 (07:27 +0530)]
Remove unused code from lib_arm/bootm.c
Signed-off-by: Gururaja Hebbar <gururajakr@sanyo.co.in>
Detlev Zundel [Wed, 16 Jul 2008 16:56:45 +0000 (18:56 +0200)]
tqm85xx: Demystify 'DK: !!!' comment
Signed-off-by: Detlev Zundel <dzu@denx.de>
Detlev Zundel [Wed, 16 Jul 2008 16:56:44 +0000 (18:56 +0200)]
83xx/85xx/86xx: Add LTEDR local bus definitions
Signed-off-by: Detlev Zundel <dzu@denx.de>
Ricardo Ribalda Delgado [Wed, 16 Jul 2008 14:22:32 +0000 (16:22 +0200)]
serial_xuartlite.c: fix compiler warnings
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Stefan Roese [Fri, 18 Jul 2008 09:03:35 +0000 (11:03 +0200)]
POST: Add disable interrupts in some of the missing CPU POST tests
Some CPU POST tests did not disable the interrupts while running. This
seems to be necessary to protect this self modifying code.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Fri, 18 Jul 2008 08:43:24 +0000 (10:43 +0200)]
ide: Use CFG_64BIT_LBA instead of CFG_64BIT_STRTOUL
This is needed for boards that define CFG_64BIT_STRTOUL but don't define
CFG_64BIT_LBA.
Signed-off-by: Stefan Roese <sr@denx.de>
Niklaus Giger [Fri, 18 Jul 2008 09:22:23 +0000 (11:22 +0200)]
POST PPC4xx/spr IVPR only if PPC440
The SPR IVPR register is only present (as far as I know) for
processors with a PPC440 core.
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Acked-by: Stefan Roese <sr@denx.de>
Wolfgang Denk [Sun, 20 Jul 2008 20:55:32 +0000 (22:55 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Stefan Roese [Fri, 18 Jul 2008 08:42:29 +0000 (10:42 +0200)]
ppc4xx: Enable 64bit printf format on 440/460 platforms
This patch defines CFG_64BIT_VSPRINTF and CFG_64BIT_STRTOUL for all
440/460 platforms. This may be needed since those platforms support
36bit physical address space.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Fri, 18 Jul 2008 13:57:23 +0000 (15:57 +0200)]
ppc4xx: Fix incorrect MODTx setup for some DIMM configurations
This patch fixes a problem with incorrect MODTx (On Die Termination)
setup for a configuration with multiple DIMM's and multiple ranks.
Without this change Katmai was unable to boot Linux with DDR2 frequency
>= 533MHz and mem>=3GB. With this patch Katmai successfully boots Linux
with DDR2 frequency = 640MHz and mem=4GB.
Signed-off-by: Stefan Roese <sr@denx.de>
Sebastian Siewior [Wed, 16 Jul 2008 18:04:49 +0000 (20:04 +0200)]
cfi_flash: fix flash on BE machines with CFG_WRITE_SWAPPED_DATA
This got broken by commits
93c56f212c
[cfi_flash: support of long cmd in U-boot.]
That command needs to be in little endian format on BE machines
with CFG_WRITE_SWAPPED_DATA. Without this patch, the command 0xf0
gets saved on stack as 0x00 00 00 f0 and 0x00 gets written into
the cmdbuf in case portwidth = chipwidth = 8bit.
Cc: Alexey Korolev <akorolev@infradead.org>
Cc: Vasiliy Leonenko <vasiliy.leonenko@mail.ru>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Wolfgang Denk [Tue, 15 Jul 2008 20:22:44 +0000 (22:22 +0200)]
Prepare v1.3.4-rc1: Code cleanup, update CHANGELOG, sort Makefile
Signed-off-by: Wolfgang Denk <wd@denx.de>
Hugo Villeneuve [Tue, 15 Jul 2008 15:23:02 +0000 (11:23 -0400)]
Round the serial port clock divisor value returned by calc_divisor()
Round the serial port clock divisor value returned by
calc_divisor()
Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Robin Getz [Tue, 15 Jul 2008 19:44:46 +0000 (21:44 +0200)]
Fix DHCP protocol so U-Boot does not respond too early
on the network with it's offered IP number; it should not reply until
after it has received a DHCP ACK message. Also ensures that U-Boot
does it's DHCPREQUEST as broadcast (per RFC 2131).
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Sebastian Siewior [Tue, 15 Jul 2008 11:35:23 +0000 (13:35 +0200)]
cfi_flash: make the command u32 only
This got changed by commit
93c56f212c
[cfi_flash: support of long cmd in U-boot.]
Long is the wrong type because it will behave differently on 64bit
machines in a way that is probably not expected. u32 should be
enough.
Cc: Alexey Korolev <akorolev@infradead.org>
Cc: Vasiliy Leonenko <vasiliy.leonenko@mail.ru>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Jean-Christophe PLAGNIOL-VILLARD [Mon, 14 Jul 2008 21:48:41 +0000 (23:48 +0200)]
tools/gitignore: update to all generated files
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wolfgang Denk [Tue, 15 Jul 2008 19:39:43 +0000 (21:39 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxx
Wolfgang Denk [Tue, 15 Jul 2008 19:39:07 +0000 (21:39 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc86xx
Wolfgang Denk [Tue, 15 Jul 2008 19:38:21 +0000 (21:38 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-sh
Wolfgang Denk [Tue, 15 Jul 2008 19:37:23 +0000 (21:37 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Andre Schwarz [Wed, 9 Jul 2008 16:30:44 +0000 (18:30 +0200)]
mpc5xxx: Add MVBC_P board support
The MVBC_P is a MPC5200B based camera system with Intel Gigabit ethernet
controller (using e1000) and custom Altera Cyclone-II FPGA on PCI.
Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Timur Tabi [Thu, 19 Jun 2008 22:56:11 +0000 (17:56 -0500)]
Update Freescale sys_eeprom.c to handle CCID formats
Update the sys_eeprom.c file to handle both NXID and CCID EEPROM formats. The
NXID format replaces the older CCID format, but it's important to support both
since most boards out there still use the CCID format. This change is in
preparation for using one file to handle both formats. This will also unify
EEPROM support for all Freescale 85xx and 86xx boards.
Also update the 86xx board header files to use the standard CFG_I2C_EEPROM_ADDR
instead of ID_EEPROM_ADDR.
Signed-off-by: Timur Tabi <timur@freescale.com>
Nobuhiro Iwamatsu [Fri, 11 Jul 2008 08:22:43 +0000 (17:22 +0900)]
pci: sh: Add pci_skip_dev and pci_print_dev function
Add function of new PCI, pci_skip_dev and pci_print_dev.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Andy Fleming [Tue, 15 Jul 2008 01:29:07 +0000 (20:29 -0500)]
Clean up INIT_RAM options
The L2_INIT_RAM option was unused, and recent changes to the TLB code
meant that the INIT_RAM TLBs weren't being cleared out. In order to reduce
the amount of mapped space attached to nothing, we change things so the TLBs
get cleared.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Andy Fleming [Tue, 15 Jul 2008 01:26:57 +0000 (20:26 -0500)]
Remove fake flash bank from 8544 DS
The fake flash bank was generating errors for anyone who didn't have a
PromJET hooked up to the board. As that constitutes the vast majority of
users, we remove it.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Kumar Gala [Mon, 14 Jul 2008 19:07:03 +0000 (14:07 -0500)]
MPC8544DS: Add ATI Video card support
Add support for using a PCIe ATI Video card on PCIe2.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Mon, 14 Jul 2008 19:07:02 +0000 (14:07 -0500)]
85xx: Add some L1/L2 SPR register definitions
Add new L1/L2 SPRs related to e500mc cache config and control.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Mon, 14 Jul 2008 19:07:01 +0000 (14:07 -0500)]
MPC8544DS: Report board id, board version and fpga version.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Mon, 14 Jul 2008 19:07:00 +0000 (14:07 -0500)]
85xx: Cleanup L2 cache size detection
The L2 size detection code was a bit confusing and we kept having to add
code to it to handle new processors. Change the sense of detection so we
look for the older processors that aren't changing.
Also added support for 1M cache size on 8572.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Paul Gortmaker [Fri, 11 Jul 2008 19:33:08 +0000 (15:33 -0400)]
sbc8560: enable CONFIG_OF_LIBFDT by default
Make the default build for the sbc8560 board be powerpc
capable with libfdt support.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Andy Fleming [Tue, 15 Jul 2008 01:04:40 +0000 (20:04 -0500)]
Fix indentation for default boot environment variables
This was proposed by Paul Gortmaker in response to Wolfgang's comments on
similar #defines in sbc8560.h.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Paul Gortmaker [Fri, 11 Jul 2008 19:33:07 +0000 (15:33 -0400)]
sbc8560: add default fdt values
Add in the default fdt settings and the typical EXTRA_ENV
settings as borrowed from the mpc8560ads. Fix a couple
of stale references to the mpc8560ads dating back to the
original clone/fork.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Paul Gortmaker [Fri, 11 Jul 2008 19:33:06 +0000 (15:33 -0400)]
sbc8560: add in ft_board_setup()
Add in for the sbc8560, the ft_board_setup() routine, based on what is
in use for the Freescale MPC8560ADS board.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker [Fri, 11 Jul 2008 19:33:05 +0000 (15:33 -0400)]
sbc8560: define eth0 and eth1 instead of eth1 and eth2
The existing config doesn't define CONFIG_HAS_ETH0, and so the
fdt support doesn't update the zeros in the dtb local-mac with
real data from the u-boot env. Since the existing config is
tailored to just two interfaces, get rid of the ETH2 definitions
at the same time.
Also don't include any end user specific data into the environment
by default -- things like MAC address, network parameters etc. need
to come from the end user.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Paul Gortmaker [Fri, 11 Jul 2008 19:33:04 +0000 (15:33 -0400)]
sbc8560: properly set cs0_bnds for 512MB
The sbc8560 board ships with 512MB of memory installed,
but the current cs0_bnds is hard coded for 256MB. Set the
value based on CFG_SDRAM_SIZE.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker [Fri, 11 Jul 2008 19:33:03 +0000 (15:33 -0400)]
sbc8560: proper definitions for TSEC.
The definitions for the TSEC have become out of date. There is no
longer any such options like "CONFIG_MPC85xx_TSEC1" or similar.
Update to match those of other boards, like the MPC8560ADS.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
Paul Gortmaker [Wed, 9 Jul 2008 17:23:05 +0000 (13:23 -0400)]
8xxx-fdt: set ns16550 clock from CFG_NS16550_CLK, not bi_busfreq
Some boards that have external 16550 UARTs don't have a direct
tie between bi_busfreq and the clock used for the UARTs. Boards
that do have such a tie should set CFG_NS16550_CLK to be
get_bus_freq(0) -- which most of them do already.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Andrew Klossner [Wed, 2 Jul 2008 14:03:53 +0000 (07:03 -0700)]
Change the temp map to ROM to align addresses to page size.
With a page size of BOOKE_PAGESZ_16M, both the real and effective
addresses must be multiples of 16MB. The hardware silently truncates
them so the code happens to work. This patch clarifies the situation
by establishing addresses that the hardware doesn't need to truncate.
Signed-off-by: Andrew Klossner <andrew@cesa.opbu.xerox.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Kim Phillips [Tue, 17 Jun 2008 22:45:22 +0000 (17:45 -0500)]
mpc85xx: use IS_E_PROCESSOR macro
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Kim Phillips [Mon, 16 Jun 2008 20:55:53 +0000 (15:55 -0500)]
fdt: add crypto node handling for MPC8{3, 5}xxE processors
Delete the crypto node if not on an E-processor. If on 8360 or 834x family,
check rev and up-rev crypto node (to SEC rev. 2.4 property values)
if on an 'EA' processor, e.g. MPC8349EA.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Hugo Villeneuve [Fri, 11 Jul 2008 19:10:11 +0000 (15:10 -0400)]
ARM DaVinci: Remove extern phy_t declaration by moving code to proper place
ARM DaVinci: Remove extern phy_t declaration by moving
code to proper place.
Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Hugo Villeneuve [Fri, 11 Jul 2008 19:10:10 +0000 (15:10 -0400)]
ARM DaVinci: Remove duplicate definitions of MACH_TYPE and prototype of i2c_init()
ARM DaVinci: Remove duplicate definitions of MACH_TYPE
and prototype of i2c_init().
Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Kumar Gala [Mon, 14 Jul 2008 19:03:02 +0000 (14:03 -0500)]
Fix some more printf() format problems.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Wolfgang Denk [Mon, 14 Jul 2008 20:38:42 +0000 (22:38 +0200)]
Fix coding style; make code better parsable by external tools
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Mon, 14 Jul 2008 19:19:08 +0000 (21:19 +0200)]
cpu/i386/serial.c: Fix syntax errors
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Mon, 14 Jul 2008 18:41:35 +0000 (20:41 +0200)]
elppc board: Coding style cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Mon, 14 Jul 2008 18:40:22 +0000 (20:40 +0200)]
elppc board: fix syntax error.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Mon, 14 Jul 2008 18:38:26 +0000 (20:38 +0200)]
EB+MCF-EV123 board: fix coding style (alingment)
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Mon, 14 Jul 2008 18:36:44 +0000 (20:36 +0200)]
EB+MCF-EV123 board: fix syntx error
Signed-off-by: Wolfgang Denk <wd@denx.de>
Andy Fleming [Mon, 7 Jul 2008 23:02:08 +0000 (18:02 -0500)]
Remove LBC_CACHE_BASE from 8544 DS
The 8544 DS doesn't have any cacheable Local Bus memories set up. By mapping
space for some anyway, we were allowing speculative loads into unmapped space,
which would cause an exception (annoying, even if ultimately harmless).
Removing LBC_CACHE_BASE, and using LBC_NONCACHE_BASE for the LBC LAW solves the
problem.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Wolfgang Denk [Mon, 14 Jul 2008 13:19:07 +0000 (15:19 +0200)]
Code cleanup: fix old style assignment ambiguities like "=-" etc.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Mon, 14 Jul 2008 13:10:53 +0000 (15:10 +0200)]
AmigaOneG3SE: remove dead and incomplete files
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Mon, 14 Jul 2008 13:06:35 +0000 (15:06 +0200)]
Fix printf() format issues with sizeof_t types by using %zu
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Jean-Christophe PLAGNIOL-VILLARD [Mon, 14 Jul 2008 12:11:45 +0000 (14:11 +0200)]
vsprintf: add z and t options
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wolfgang Denk [Sun, 13 Jul 2008 21:07:35 +0000 (23:07 +0200)]
Fix some more printf() format issues.
Signed-off-by: Wolfgang Denk <wd@denx.de>