]> git.dujemihanovic.xyz Git - u-boot.git/log
u-boot.git
16 years agotools/gitignore: update to all generated files
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>
16 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc5xxx
Wolfgang Denk [Tue, 15 Jul 2008 19:39:43 +0000 (21:39 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxx

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc86xx
Wolfgang Denk [Tue, 15 Jul 2008 19:39:07 +0000 (21:39 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc86xx

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-sh
Wolfgang Denk [Tue, 15 Jul 2008 19:38:21 +0000 (21:38 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-sh

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Wolfgang Denk [Tue, 15 Jul 2008 19:37:23 +0000 (21:37 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx

16 years agompc5xxx: Add MVBC_P board support
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>
16 years agoUpdate Freescale sys_eeprom.c to handle CCID formats
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>
16 years agopci: sh: Add pci_skip_dev and pci_print_dev function
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>
16 years agoClean up INIT_RAM options
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>
16 years agoRemove fake flash bank from 8544 DS
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>
16 years agoMPC8544DS: Add ATI Video card support
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>
16 years ago85xx: Add some L1/L2 SPR register definitions
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>
16 years agoMPC8544DS: Report board id, board version and fpga version.
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>
16 years ago85xx: Cleanup L2 cache size detection
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>
16 years agosbc8560: enable CONFIG_OF_LIBFDT by default
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>
16 years agoFix indentation for default boot environment variables
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>
16 years agosbc8560: add default fdt values
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>
16 years agosbc8560: add in ft_board_setup()
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>
16 years agosbc8560: define eth0 and eth1 instead of eth1 and eth2
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>
16 years agosbc8560: properly set cs0_bnds for 512MB
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>
16 years agosbc8560: proper definitions for TSEC.
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>
16 years ago8xxx-fdt: set ns16550 clock from CFG_NS16550_CLK, not bi_busfreq
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>
16 years agoChange the temp map to ROM to align addresses to page size.
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>
16 years agompc85xx: use IS_E_PROCESSOR macro
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>
16 years agofdt: add crypto node handling for MPC8{3, 5}xxE processors
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>
16 years agoARM DaVinci: Remove extern phy_t declaration by moving code to proper place
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>
16 years agoARM DaVinci: Remove duplicate definitions of MACH_TYPE and prototype of i2c_init()
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>
16 years agoFix some more printf() format problems.
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>
16 years agoFix coding style; make code better parsable by external tools
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>
16 years agocpu/i386/serial.c: Fix syntax errors
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>
16 years agoelppc board: Coding style cleanup.
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>
16 years agoelppc board: fix syntax error.
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>
16 years agoEB+MCF-EV123 board: fix coding style (alingment)
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>
16 years agoEB+MCF-EV123 board: fix syntx error
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>
16 years agoRemove LBC_CACHE_BASE from 8544 DS
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>
16 years agoCode cleanup: fix old style assignment ambiguities like "=-" etc.
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>
16 years agoAmigaOneG3SE: remove dead and incomplete files
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>
16 years agoFix printf() format issues with sizeof_t types by using %zu
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>
16 years agovsprintf: add z and t options
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>
16 years agoFix some more printf() format issues.
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>
16 years agoFix some more printf() format problems.
Wolfgang Denk [Sun, 13 Jul 2008 17:51:00 +0000 (19:51 +0200)]
Fix some more printf() format problems.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: Fix (delete) incorrect ads5121_diu_init() prototype
Wolfgang Denk [Sun, 13 Jul 2008 17:48:26 +0000 (19:48 +0200)]
ADS5121: Fix (delete) incorrect ads5121_diu_init() prototype

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoFix bug in Lime video driver
Anatolij Gustschin [Sat, 12 Jul 2008 15:31:36 +0000 (17:31 +0200)]
Fix bug in Lime video driver

We need to wait while drawing engine clears frame
buffer before any further software accesses to frame
buffer will be initiated. Otherwise software drawn
parts could be partially destroyed by the drawing
engine or even GDC chip freeze could occur (as
observed on socrates board).

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoFix some more printf() format issues.
Jean-Christophe PLAGNIOL-VILLARD [Sat, 12 Jul 2008 12:36:34 +0000 (14:36 +0200)]
Fix some more printf() format issues.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agohwmon: rename CONFIG_DS1722 to CONFIG_DTT_DS1722
Michal Simek [Fri, 11 Jul 2008 13:11:57 +0000 (15:11 +0200)]
hwmon: rename CONFIG_DS1722 to CONFIG_DTT_DS1722

Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stefan Roese <sr@denx.de>
16 years agohwmon: Cleaning hwmon devices
Michal Simek [Fri, 11 Jul 2008 09:50:53 +0000 (11:50 +0200)]
hwmon: Cleaning hwmon devices

Clean Makefile
Move device specific values to driver for better reading

Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stefan Roese <sr@denx.de>
16 years agoFIS: repare incorrect return value with ramdisk handling
Michal Simek [Fri, 11 Jul 2008 08:43:13 +0000 (10:43 +0200)]
FIS: repare incorrect return value with ramdisk handling

Microblaze and PowerPC use boot_get_ramdisk for loading
ramdisk to memory with checking return value.
Return 0 means success. Return 1 means failed.
Here is correspond part of code from bootm.c which check
return code.

ret = boot_get_ramdisk (argc, argv, images, IH_ARCH_PPC,
&rd_data_start, &rd_data_end);
if (ret)
goto error;

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agomicroblaze: Remove useless ancient headers
Michal Simek [Fri, 11 Jul 2008 08:10:32 +0000 (10:10 +0200)]
microblaze: Remove useless ancient headers

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agomicroblaze: Clean uartlite driver
Michal Simek [Fri, 11 Jul 2008 08:10:31 +0000 (10:10 +0200)]
microblaze: Clean uartlite driver

Redesign uartlite driver to in_be32 and out_be32 macros
Fix missing header in io.h

Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoEnable passing of ATAGs required by latest Linux kernel.
Marcel Ziswiler [Fri, 11 Jul 2008 00:39:14 +0000 (02:39 +0200)]
Enable passing of ATAGs required by latest Linux kernel.

16 years agoFix integer overflow warning in calc_divisor()
Hugo Villeneuve [Fri, 11 Jul 2008 14:24:15 +0000 (10:24 -0400)]
Fix integer overflow warning in calc_divisor()

which happened when rounding the serial port clock divisor

Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
16 years agoFix build time warnings in function mmc_decode_csd()
Marcel Ziswiler [Thu, 10 Jul 2008 23:09:59 +0000 (01:09 +0200)]
Fix build time warnings in function mmc_decode_csd()

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
16 years agoARM: Fix for broken compilation when defining CONFIG_CMD_ELF
Hugo Villeneuve [Thu, 10 Jul 2008 14:46:33 +0000 (10:46 -0400)]
ARM: Fix for broken compilation when defining CONFIG_CMD_ELF

caused by missing dcache status/enable/disable functions.

Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
16 years agoppc4xx: Remove redundant ft_board_setup() functions from some 4xx boards
Stefan Roese [Thu, 10 Jul 2008 11:53:31 +0000 (13:53 +0200)]
ppc4xx: Remove redundant ft_board_setup() functions from some 4xx boards

This patch removes some ft_board_setup() functions from some 4xx boards.
This can be done since we now have a default weak implementation for this
in cpu/ppc4xx/fdt.c. Only board in need for a different/custom
implementation like canyonlands need their own version.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoAdd last known maintainer for orphaned boards; reformat.
Wolfgang Denk [Sun, 13 Jul 2008 12:58:16 +0000 (14:58 +0200)]
Add last known maintainer for orphaned boards; reformat.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoRemove kharris@nexus-tech.net from MAINTAINERS
Haavard Skinnemoen [Thu, 10 Jul 2008 11:16:04 +0000 (13:16 +0200)]
Remove kharris@nexus-tech.net from MAINTAINERS

Mail to kharris@nexus-tech.net bounces because the user doesn't exist
anymore. You can't be a maintainer without a valid e-mail address, so
move all boards that used to be maintained by Kyle Harris to the
"orphaned" list.

Currently, only PowerPC has a list of orphaned boards, so this patch
creates one for ARM as well.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sun, 13 Jul 2008 12:45:06 +0000 (14:45 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc512x
Wolfgang Denk [Sun, 13 Jul 2008 12:44:56 +0000 (14:44 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc512x

16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sun, 13 Jul 2008 12:44:12 +0000 (14:44 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-coldfire
Wolfgang Denk [Sun, 13 Jul 2008 12:44:04 +0000 (14:44 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-coldfire

16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sun, 13 Jul 2008 12:43:57 +0000 (14:43 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Sun, 13 Jul 2008 12:42:55 +0000 (14:42 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

16 years agoat91: Fix to enable using Teridian MII phy (78Q21x3) with at91sam9260
Anatolij Gustschin [Wed, 9 Jul 2008 23:15:10 +0000 (01:15 +0200)]
at91: Fix to enable using Teridian MII phy (78Q21x3) with at91sam9260

On the at91sam9260ep development board there is an EEPROM
connected to the TWI interface (PA23, PA24 Peripheral A
multiplexing), so we cannot use these pins as ETX2, ETX3.
This patch configures PA10, PA11 pins for ETX2, ETX3
instead of PA23, PA24 pins.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Manuel Sahm <Manuel.Sahm@feig.de>
16 years agoMerge branch 'master' of git://git.denx.de/u-boot-at91
Wolfgang Denk [Sun, 13 Jul 2008 12:40:30 +0000 (14:40 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-at91

16 years agofix DIU for small screens
Kenneth Johansson [Sat, 12 Jul 2008 19:18:34 +0000 (13:18 -0600)]
fix DIU for small screens

The DIU_DIV register is 8 bit not 5 bit. This prevented large DIV values
so it was not possible to set a slow pixel clock and thus prevented
display on small screens.

Signed-off-by: Kenneth Johansson <kenneth@southpole.se>
Acked-by: John Rigby <jrigby@freescale.com>
16 years agoADS5121 cleanup compile warnings
John Rigby [Fri, 11 Jul 2008 20:44:09 +0000 (14:44 -0600)]
ADS5121 cleanup compile warnings

board/ads5121/iopin.c
    Replace bit fields in struct iopin_t with a single
    field and intialize it via plain old macros.
    This fixes the type pun warnings and makes the code
    more readable.

board/ads5121/ads5121.c
    Add include iopin.h to ads5121.c for the iopin_initialize
    prototype.

    Add an extern void ads5121_diu_init(void)

Signed-off-by: John Rigby <jrigby@freescale.com>
16 years agoFix some more printf() format issues.
Wolfgang Denk [Fri, 11 Jul 2008 20:56:11 +0000 (22:56 +0200)]
Fix some more printf() format issues.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoFixed some out-of-tree build issues
Wolfgang Denk [Fri, 11 Jul 2008 20:55:31 +0000 (22:55 +0200)]
Fixed some out-of-tree build issues

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoColdFire: Fix FB CS not setup properly for Mcf5282
TsiChung Liew [Wed, 9 Jul 2008 21:20:23 +0000 (16:20 -0500)]
ColdFire: Fix FB CS not setup properly for Mcf5282

Remove all CFG_CSn_RO in cpu/mcf52x2/cpu_init.c. If
CFG_CSn_RO is defined as 0, the chipselect will not
be assigned.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: Fix incorrect define for mcf5227x and mcf5445x RTC
TsiChung Liew [Wed, 9 Jul 2008 20:47:27 +0000 (15:47 -0500)]
ColdFire: Fix incorrect define for mcf5227x and mcf5445x RTC

Rename CONFIG_MCFTMR to CONFIG_MCFRTC to include real time
clock module in cpu/<cf arch>/cpu_init.c

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: Fix incorrect board name in MAKEALL for M5253EVBE
TsiChung Liew [Wed, 9 Jul 2008 20:25:01 +0000 (15:25 -0500)]
ColdFire: Fix incorrect board name in MAKEALL for M5253EVBE

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoFix compile error caused by missing timer function
TsiChung Liew [Wed, 9 Jul 2008 20:21:44 +0000 (15:21 -0500)]
Fix compile error caused by missing timer function

Add #define CONFIG_MCFTMR in EB+MCF-EV123.h configuration file

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoFix compile error caused by incorrect function return type
TsiChung Liew [Wed, 9 Jul 2008 20:14:25 +0000 (15:14 -0500)]
Fix compile error caused by incorrect function return type

Rename int mii_init(void) to void mii_init(void)

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: Fix power up issue for MCF5235
TsiChung Liew [Thu, 19 Jun 2008 00:27:23 +0000 (19:27 -0500)]
ColdFire: Fix power up issue for MCF5235

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: Fix compiling error for MCF5275
TsiChung Liew [Thu, 19 Jun 2008 00:19:07 +0000 (19:19 -0500)]
ColdFire: Fix compiling error for MCF5275

The compiling error was caused by missing a closed parentheses
in speed.c

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: Fix timer issue for MCF5272
TsiChung Liew [Thu, 19 Jun 2008 00:14:01 +0000 (19:14 -0500)]
ColdFire: Fix timer issue for MCF5272

The timer was assigned to wrong timer memory mapped which
caused udelay() and timer() not working properly.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: Change invalid JMP to BRA caught by new v4e toolchain
TsiChung Liew [Thu, 19 Jun 2008 00:12:13 +0000 (19:12 -0500)]
ColdFire: Change invalid JMP to BRA caught by new v4e toolchain

Signed-off-by: Kurt Mahan <kmahan@freescale.com>
16 years agoColdFire: Add -got=single param for new linux v4e toolchains
TsiChung Liew [Thu, 19 Jun 2008 00:05:23 +0000 (19:05 -0500)]
ColdFire: Add -got=single param for new linux v4e toolchains

Signed-off-by: Kurt Mahan <kmahan@freescale.com>
16 years agoColdFire: Fix code flash configuration for M547x/M548x boards
TsiChung Liew [Wed, 18 Jun 2008 18:21:19 +0000 (13:21 -0500)]
ColdFire: Fix code flash configuration for M547x/M548x boards

Signed-off-by: Kurt Mahan <kmahan@freescale.com>
16 years agoColdFire: Fix warning messages by passing correct data type in board.c
TsiChung Liew [Tue, 24 Jun 2008 17:12:16 +0000 (12:12 -0500)]
ColdFire: Fix warning messages by passing correct data type in board.c

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: Fix UART baudrate formula
TsiChung Liew [Thu, 29 May 2008 17:21:54 +0000 (12:21 -0500)]
ColdFire: Fix UART baudrate formula

The formula "counter = (u32) (gd->bus_clk / gd->baudrate) / 32"
can generate the wrong divisor due to integer division truncation.
Round the calculated divisor value by adding 1/2 the baudrate
before dividing by the baudrate.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
16 years agoppc4xx: Fix include sequence in 4xx_pcie.c
Stefan Roese [Thu, 10 Jul 2008 09:38:26 +0000 (11:38 +0200)]
ppc4xx: Fix include sequence in 4xx_pcie.c

This patch now moves common.h to the top of the inlcude list. This
is needed for boards with CONFIG_PHYS_64BIT set (e.g. katmai), so that
the phys_size_t/phys_addr_t are defined to the correct size in this
driver.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoFix some more print() format errors.
Wolfgang Denk [Thu, 10 Jul 2008 23:16:00 +0000 (01:16 +0200)]
Fix some more print() format errors.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMAKEALL: remove duplicated at91 from ARM9 list and add LIST_at91 to arm
Jean-Christophe PLAGNIOL-VILLARD [Thu, 10 Jul 2008 18:57:54 +0000 (20:57 +0200)]
MAKEALL: remove duplicated at91 from ARM9 list and add LIST_at91 to arm

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoDataFlash AT45DB021 support
Sergey Lapin [Thu, 5 Jun 2008 07:06:29 +0000 (11:06 +0400)]
DataFlash AT45DB021 support

Some boards based on AT91SAM926X-EK use smaller DF chips to keep
bootstrap, u-boot and its environment, using NAND or other external
storage for kernel and rootfs. This patch adds support for
small 1024x263 chip.

Signed-off-by: Sergey Lapin <slapin@ossfans.org>
16 years agosilence misc printf formatting compiler warnings
Kim Phillips [Thu, 10 Jul 2008 19:00:15 +0000 (14:00 -0500)]
silence misc printf formatting compiler warnings

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc512x
Wolfgang Denk [Thu, 10 Jul 2008 20:09:39 +0000 (22:09 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc512x

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx
Wolfgang Denk [Thu, 10 Jul 2008 19:53:51 +0000 (21:53 +0200)]
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx

16 years agoUSB: shutdown USB before booting
Markus Klotzbücher [Thu, 10 Jul 2008 12:47:09 +0000 (14:47 +0200)]
USB: shutdown USB before booting

This patch fixes a potentially serious issue related to USB which was
discouvered by Martin Krause <martin.krause@tqs.de> and fixed for
ARM920T. Martin wrote:

  Turn off USB to prevent the host controller from writing to the
  SDRAM while Linux is booting. This could happen, because the HCCA
  (Host Controller Communication Area) lies within the SDRAM and the
  host controller writes continously to this area (as busmaster!), for
  example to increase the HccaFrameNumber variable, which happens
  every 1 ms.

This is a slightly modified version of the patch in order to shutdown
USB when booting on all architectures.

Signed-off-by: Markus Klotzbuecher <mk@denx.de>
16 years agoConfiguration changes for ADS5121 Rev 3
Martha Marx [Thu, 29 May 2008 18:23:25 +0000 (14:23 -0400)]
Configuration changes for ADS5121 Rev 3

ADS5121 Rev 3 board is now the default config

config targets are now

ads5121_config
    Rev 3 board with
PCI
M41T62 on board RTC
512MB DRAM

ads5121_rev2_config
    Rev 2 board with
No PCI
256MB DRAM

Signed-off-by: Martha Marx <mmarx@silicontkx.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: John Rigby <jrigby@freescale.com>
16 years agoConsolidate ADS5121 IO Pin configuration
Martha Marx [Thu, 29 May 2008 19:37:21 +0000 (15:37 -0400)]
Consolidate ADS5121 IO Pin configuration

Consolidate ADS5121 IO Pin configuration to one file
board/ads5121/iopin.c.

Remove pin config from cpu/mpc512x/fec.c

Signed-off-by: Martha Marx <mmarx@silicontkx.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: John Rigby <jrigby@freescale.com>
16 years agoMerge commit 'wd/master'
Jon Loeliger [Thu, 10 Jul 2008 17:05:32 +0000 (12:05 -0500)]
Merge commit 'wd/master'

16 years agoFix "usb part" command
Christian Eggers [Fri, 27 Jun 2008 17:46:51 +0000 (19:46 +0200)]
Fix "usb part" command

Only print partition for selected device if user supplied the <dev>
arg with the "usb part [dev]" command.

Signed-off-by: Christian Eggers <ceggers@gmx.de>
Acked-by: Markus Klotzbuecher <mk@denx.de>
16 years agofix USB devices with multiple configurations
Harald Welte [Sun, 6 Jul 2008 16:58:05 +0000 (00:58 +0800)]
fix USB devices with multiple configurations

This patch fixes bugs in usbdcore*.c related to the use of devices
with multiple configurations.

The original code made mistakes about the meaning of configuration value and
configuration index, and the resulting off-by-one errors resulted in:

* SET_CONFIGURATION always selected the first configuration, no matter what
  wValue is being passed.
* GET_DESCRIPTOR/CONFIGURATION always returned the descriptor for the first
  configuration (index 0).

Signed-off-by: Harald Welte <laforge@openmoko.org>
Acked-by: Markus Klotzbuecher <mk@denx.de>
16 years agoMerge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Thu, 10 Jul 2008 11:16:34 +0000 (13:16 +0200)]
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master

16 years agoFix some more print() format errors.
Wolfgang Denk [Thu, 10 Jul 2008 11:16:09 +0000 (13:16 +0200)]
Fix some more print() format errors.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoFix "usb part" command
Christian Eggers [Fri, 27 Jun 2008 17:46:51 +0000 (19:46 +0200)]
Fix "usb part" command

Only print partition for selected device if user supplied the <dev>
arg with the "usb part [dev]" command.

Signed-off-by: Christian Eggers <ceggers@gmx.de>
Acked-by: Markus Klotzbuecher <mk@denx.de>
16 years agofix USB devices with multiple configurations
Harald Welte [Sun, 6 Jul 2008 16:58:05 +0000 (00:58 +0800)]
fix USB devices with multiple configurations

This patch fixes bugs in usbdcore*.c related to the use of devices
with multiple configurations.

The original code made mistakes about the meaning of configuration value and
configuration index, and the resulting off-by-one errors resulted in:

* SET_CONFIGURATION always selected the first configuration, no matter what
  wValue is being passed.
* GET_DESCRIPTOR/CONFIGURATION always returned the descriptor for the first
  configuration (index 0).

Signed-off-by: Harald Welte <laforge@openmoko.org>
Acked-by: Markus Klotzbuecher <mk@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Thu, 10 Jul 2008 08:50:38 +0000 (10:50 +0200)]
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx

16 years agoMTD/NAND: Fix printf format warning in nand code
Stefan Roese [Thu, 10 Jul 2008 08:10:54 +0000 (10:10 +0200)]
MTD/NAND: Fix printf format warning in nand code

This patch fixes NAND related printf format warning. Those warnings are
now visible since patch dc4b0b38d4aadf08826f6c31270f1eecd27964fd
[Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is
really helpful.

Signed-off-by: Stefan Roese <sr@denx.de>