Commit Graph

2646 Commits

Author SHA1 Message Date
Wolfgang Denk
d62f64cc23 Coding Style Cleanup, new CHANGELOG 2007-05-16 00:13:33 +02:00
Wolfgang Denk
d602257374 Merge with /home/wd/git/u-boot/custodian/u-boot-microblaze 2007-05-16 00:11:53 +02:00
Wolfgang Denk
3162eb8369 Minor coding style cleanup. 2007-05-15 23:38:05 +02:00
mushtaq khan
66d9dbec1c Add driver for S-ATA-controller on Intel processors with South
Bridge, ICH-5, ICH-6 and ICH-7. 

Implementation:

1. Code is divided in to two files. All functions, which are
   controller specific are kept in "drivers/ata_piix.c" file and
   functions, which are not controller specific, are kept in
   "common/cmd_sata.c" file.

2. Reading and Writing from the S-ATA drive is done using PIO method.

3. Driver can be configured for 48-bit addressing by defining macro
   CONFIG_LBA48, if this macro is not defined driver uses the 28-bit
   addressing.

4. S-ATA read function is hooked to the File system, commands like
   ext2ls and ext2load file can be used. This has been tested.

5. U-Boot command "SATA_init" is added, which initializes the S-ATA
   controller and identifies the S-ATA drives connected to it.

6. U-Boot command "sata" is added, which is used to read/write, print
   partition table and get info about the drives present. This I have
   implemented in same way as "ide" command is implemented in U-Boot.

7. This driver is for S-ATA in native mode.

8. This driver does not support the Native command queuing and
   Hot-plugging.

Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
2007-05-15 23:25:37 +02:00
mushtaq khan
644e6fb4eb Fixes bug clearing the bss section for i386
Hi,
There is a bug in the code of clearing the bss section for processor
i386.(File: cpu/i386/start.S)
In the code, bss_start addr (starting addr of bss section) is put into
the register %eax, but the code which clears the bss section refers to
the addr pointed by %edi.

This patch fixes this bug by putting bss_start into %edi register.

Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
2007-05-15 23:15:10 +02:00
Joe Hamman
c3243cf7b4 Add support for BCM5464 Quad Phy
Added support for Broadcom's BCM5464 Quad Phy

Signed-off-by: Joe Hamman <joe.hamman@embeddedspecialties.com>
2007-05-15 23:09:23 +02:00
Zang Roy-r61911
1b305bdc75 Search the exception table with linear algorithm
Search the exception table with linear algorithm instead of
bisecting algorithm.
Because the exception table might be unsorted.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
2007-05-15 22:19:41 +02:00
Aubrey.Li
5dfaa50eb8 Fix compilation issues on MACOSX
Singed-off-by: Marc Hoffman <Marc.Hoffman@analog.com>
Signed-off-by: Aubrey Li <aubrey.adi@gmail.com>
2007-05-15 22:18:07 +02:00
Stephen Williams
56fd716298 Fix for compile of JSE target
The attached patch fixes the compile of the JSE board in the
denx git as of 14 may 2007. It is an extremely simple patch,
it just adds the missing define of CFG_SYSTEMACE_WIDTH.

 Fix to compile JSE against 20070514 git of u-boot
2007-05-15 22:15:53 +02:00
Wolfgang Denk
6844535a71 Merge with git://www.denx.de/git/u-boot-testing 2007-05-15 22:12:06 +02:00
Wolfgang Denk
e73865897f Merge with /home/wd/git/u-boot/master 2007-05-15 00:23:53 +02:00
Wolfgang Denk
f0da1d1b3c Merge with /home/tur/git/u-boot#motionpro 2007-05-15 00:22:30 +02:00
Stefan Roese
61936667e8 ppc4xx: Add mtcpr/mfcpr access macros
Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-11 12:01:49 +02:00
Stefan Roese
343c48bd84 ppc4xx: Set bd->bi_pci_busfreq on 440EPx/GRx too
Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-11 12:01:06 +02:00
Jon Loeliger
3423c44afa Merge branch 'mpc8641' 2007-05-10 13:54:08 -05:00
Piotr Kruszynski
7d98ba770a [Motion-PRO] Add MTD and JFFS2 support, also add default partition
definition.
2007-05-10 16:55:52 +02:00
Peter Pearse
65fb6a676e Add the board directory for SMN42 2007-05-09 11:42:44 +01:00
Peter Pearse
160131bf96 Add the files for the SMN42 board 2007-05-09 11:41:58 +01:00
Peter Pearse
5c6d2b5a50 Remove the deleted files for the SMN42 patch 2007-05-09 11:40:34 +01:00
Peter Pearse
b0d8f5bf0d New board SMN42 branch 2007-05-09 11:37:56 +01:00
Peter Pearse
29f3be0caf Makefile permissions 2007-05-09 10:24:38 +01:00
Ed Swarthout
b84289b595 8641hpcn: Fix Makefile after moving pixis to board/freescale.
The OBJTREE != SRCTREE build scenario was broken.
This fixes it.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-05-08 14:17:07 -05:00
Michal Simek
e69f66c6eb add: reading special purpose registers 2007-05-08 15:57:43 +02:00
Michal Simek
1a50f164be add: Microblaze V5 exception handling 2007-05-08 14:52:52 +02:00
Michal Simek
ab874d5047 add: FSL control read and write 2007-05-08 14:39:11 +02:00
Piotr Kruszynski
de1de02a7c [Motion-PRO] Add support for I2C, EEPROM and RTC. 2007-05-08 13:05:44 +02:00
Bartlomiej Sieka
fa5c2ba123 [Motion-PRO] Add ATA support. Add CF-booting commands to the default
environment.
2007-05-08 10:23:56 +02:00
Bartlomiej Sieka
06241d50a3 [Motion-PRO] Change IPB clock frequency from 50MHz to 100MHz. This
eliminates networking problems in Linux (timeouts).
2007-05-08 09:39:12 +02:00
Bartlomiej Sieka
1f1369c34b [Motion-PRO] Enable Flat Device Tree support and modify default environment
to allow booting of FDT-expecting kernels.
2007-05-08 09:21:57 +02:00
Michal Simek
3c4bd60de1 Merge git://www.denx.de/git/u-boot
Conflicts:

	include/asm-microblaze/microblaze_intc.h
	include/linux/stat.h
2007-05-08 00:32:35 +02:00
Michal Simek
fb05f6da35 new: USE_MSR_INTR support 2007-05-07 23:58:31 +02:00
Bartlomiej Sieka
008861a2f3 [MPC5xxx] There are networking problems on the Motion-PRO board with
current PHY initalization code (tftp timeouts all the time). This commit
temporarily disables PHY initalization sequence to make the networking
operational, until a fix is found.
2007-05-07 22:36:15 +02:00
Wolfgang Denk
abca901869 Get rid of duplicated file (see include/configs/sbc8560.h instead)
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-05-07 22:10:36 +02:00
Wolfgang Denk
207b7b2c9d Get rid of duplicated file (see doc/README.SBC8560 instead)
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-05-07 22:07:08 +02:00
Michal Simek
a7bac7e9b5 fix: read and write MSR - repair number of parameters 2007-05-07 19:43:10 +02:00
Jeffrey Mann
193b4a3bb3 [PATCH] ppc4xx: Fix CONFIG_SYS_CLK_FREQ definition in Sequoia config file
A '3' got cut off in the formatting of the last patch to automatically
change the clock speed of the system clock on sequoia board.

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-07 19:42:49 +02:00
Michal Simek
19bf1fbad7 new: fsl interrupt support
FSL_Has_data is connected to INTC.
2007-05-07 19:33:51 +02:00
Michal Simek
792032baa7 fix: interrupt handler
remove asm code
2007-05-07 19:30:12 +02:00
Michal Simek
f3f001a341 fix: remove asm code 2007-05-07 19:25:08 +02:00
Michal Simek
fb7c2dbef0 fix: clean interrupt 2007-05-07 19:12:43 +02:00
Michal Simek
42efed6130 fix: interrupt handler for multiple sources 2007-05-07 17:22:25 +02:00
Michal Simek
48fbd3a4cd new: add writing to msr register 2007-05-07 17:11:09 +02:00
Wolfgang Denk
426a44277f Merge with /home/git/u-boot 2007-05-05 21:44:47 +02:00
Timur Tabi
ac4cd59d59 5xxx: write MAC address to mac-address and local-mac-address
Some device trees have a mac-address property, some have local-mac-address,
and some have both.  To support all of these device trees, ftp_cpu_setup()
should write the MAC address to mac-address and local-mac-address, if they
exist.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
2007-05-05 21:35:59 +02:00
Grzegorz Wianecki
a9d87e2707 [PATCH] Use PVR to distinguish MPC5200B from MPC5200 in boot message
MPC5200B systems are incorrectly reported as MPC5200 in U-Boot start-up
message. Use PVR to distinguish between the two variants, and print proper CPU
information.

Signed-off-by: Grzegorz Wianecki <grzegorz.wianecki@gmail.com>
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-05-05 21:35:03 +02:00
Ladislav Michl
4ec5bd55ed [PATCH] simplify silent console
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Stefan Roese <sr@denx.de>
2007-05-05 21:34:19 +02:00
Sergei Shtylyov
b7598a43f2 [PATCH] Avoid assigning PCI resources from zero address
If a PCI IDE card happens to get a zero address assigned to it, the Linux IDE
core complains and IDE drivers fails to work.  Also, assigning zero to a BAR
was illegal according to PCI 2.1 (the later revisions seem to have excluded the
sentence about "0" being considered an invalid address) -- so, use a reasonable
starting value of 0x1000 (that's what the most Linux archs are using).

Alternatively, one might have fixed the calls to pci_set_region() individually
(some code even seems to have taken care of this issue) but that would have
been a lot more work. :-)

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Stefan Roese <sr@denx.de>
2007-05-05 21:31:08 +02:00
Jeffrey Mann
9ffd451afe [patch] setenv(...) can delete environmentalvariables
update setenv() function so that entering a NULL value for the
variable's value will delete the environmental variable

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
Acked-by: Stefan Roese <sr@denx.de>
2007-05-05 21:30:20 +02:00
Mike Frysinger
ebd0a0ae05 [patch] use unsigned char in smc91111 driver for mac
the v_mac variable in the smc91111 driver is declared as a signed char ...
this causes problems when one of the bytes in the MAC is "signed" like 0xE0
because when it gets printed out, you get a display like:
0xFFFFFFE0 and that's no good

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2007-05-05 21:27:38 +02:00
Wolfgang Denk
2be1bab6a7 Merge with git://www.denx.de/git/u-boot-testing 2007-05-05 21:12:41 +02:00