Commit Graph

2582 Commits

Author SHA1 Message Date
Markus Klotzbuecher dace45acd1 USB: ohci fixes and cleanup for ppc4xx and yosemite board. 2007-06-06 11:49:43 +02:00
Markus Klotzbuecher 72657570b6 USB: ohci fixes and cleanup for mpc5xxx and IceCube board config 2007-06-06 11:49:43 +02:00
Markus Klotzbuecher fc43be478f USB/OHCI: endianness cleanup in the generic ohci driver 2007-06-06 11:49:35 +02:00
Rodolfo Giometti 18135125f9 Files include/linux/byteorder/{big,little}_endian.h define
__BIG_ENDIAN and __LITTLE_ENDIAN.

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
2007-06-06 10:08:14 +02:00
Zhang Wei a81d1c0b85 Add USB PCI-OHCI, USB keyboard and event poll support to the
MPC8641HPCN board config file.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
2007-06-06 10:08:14 +02:00
Zhang Wei 4dae14ce8f USB PCI-OHCI, interrupt pipe and usb event poll support
This patch added USB PCI-OHCI chips support, interrupt pipe support
and usb event poll support. For supporting the USB interrupt pipe, the
globe urb_priv is moved to purb in ed struct. Now, we can process
several urbs at one time. The interrupt pipe support codes are ported
from Linux kernel 2.4.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
2007-06-06 10:08:14 +02:00
Zhang Wei fdcfaa1b02 USB event poll support
This patch adds USB event poll support, which could be used in usbkbd
and other usb devices driver when the asynchronous interrupt
processing is supported.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com
2007-06-06 10:08:13 +02:00
Rodolfo Giometti 9a1d00fa47 ISP116x: delay for crappy USB keys
Using some (very) slow USB keys cause the USB host controller buffers
are not ready to be read by the CPU so we need an extra delay before
reading the USB storage data.

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
2007-06-06 10:08:12 +02:00
Markus Klotzbuecher 0944414367 Change duplicate usb_cpu_init_fail to usb_board_init_fail
Thanks to Liew Tsi Chung <Tsi-chung.Liew@freescale.com> for pointing
this out.

Signed-off-by: Markus Klotzbuecher <mk@denx.de>
2007-06-06 10:08:12 +02:00
Markus Klotzbuecher 51d8e81322 Merge git://www.denx.de/git/u-boot into 2007_05_15-testing 2007-05-29 16:37:57 +02:00
Wolfgang Denk 19bf91f962 Merge with /home/tur/git/u-boot#motionpro 2007-05-28 01:11:11 +02:00
Bartlomiej Sieka 7049288fb1 Motion-PRO: Code cleanup, fix of a typo in OF_STDOUT_PATH.
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 17:26:46 +02:00
Bartlomiej Sieka 4520fd4d2c Motion-PRO: Add support for redundant environment.
Enable redundant environment, add a MTD partition for it; also add env.
variable command for passing MTD partitions to the kernel command line.

Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 17:06:36 +02:00
Bartlomiej Sieka a26eabeec3 Motion-PRO: Change maximum console buffer size from 256 to 1024 bytes.
Allow passing longer command line to the kernel - useful especially
for passing MTD partition layout.

Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 17:05:11 +02:00
Bartlomiej Sieka 9160b96f71 Fix: Add missing NULL termination in strings expanded by macros parser.
Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 17:04:18 +02:00
Bartlomiej Sieka 630ec84aef Motion-PRO: Update EEPROM's page write bits and write delay.
Change EEPROM configuration according to the datasheet: "The 24C01A and 24C02A
have a page write capability of two bytes", and "This device offers fast (1ms)
byte write". Add 3ms of extra delay.

Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 17:03:37 +02:00
Bartlomiej Sieka c00125e07c MPC5XXX, Motion-PRO: Fix PHY initialization problem.
After being reset in mpc5xxx_fec_init_phy(), PHY goes into FX mode, in which
networking does not function. This commit switches PHY to TX mode by clearing
the FX_SEL bit of Mode Control Register. It also reverses commit
008861a2f3, i.e., a temporary workaround.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 16:58:45 +02:00
Bartlomiej Sieka 93b78f534a Motion-PRO: Add support for the temperature sensor.
Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 16:57:15 +02:00
Bartlomiej Sieka c75e639630 Motion-PRO: Add displaying of CPLD revision information during boot.
Signed-off-by: Jan Wrobel <wrr@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 16:55:23 +02:00
Bartlomiej Sieka c99512d6bd MPC5xxx: Change names of defines related to IPB and PCI clocks.
Both CFG_PCISPEED_66 and CFG_IPBSPEED_133 are misnamed, as defining
them does not cause PCI or IPB clocks to run at the specified speed.
Instead, they configure divisors used to calculate said clocks. This
patch renames the defines according to their real function.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 16:53:43 +02:00
Bartlomiej Sieka a11c0b85dc Motion-PRO: Add LED support.
Signed-off-by: Jan Wrobel <wrr@semihalf.com>
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 16:51:48 +02:00
Stefan Roese 7d075ee1d8 Merge with /home/stefan/git/u-boot/acadia-nand 2007-05-24 09:50:17 +02:00
Stefan Roese d756894722 ppc4xx: Fix small 405EZ OCM initilization bug in start.S
As pointed out by Bruce Adler <bruce.adler@acm.org> this patch
fixes a small bug in the 405EZ OCM initialization. Thanks for
spotting.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-24 09:49:00 +02:00
Stefan Roese 5d4a179013 ppc4xx: Update AMCC Acadia support for board revision 1.1
This patch updates the Acadia (405EZ) support for the new 1.1 board
revision. It also adds support for NAND FLASH via the 4xx NDFC.

Please note that the jumper J7 must be in position 2-3 for this
NAND support. Position 1-2 is for NAND booting only. NAND booting
support will follow later.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-24 08:22:09 +02:00
Stefan Roese 9f0077abd6 ppc4xx: Use do { ... } while (0) for CPR & SDR access macros
Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-22 12:48:09 +02:00
Stefan Roese 6f3dfc139a ppc4xx: Add 405 support to 4xx NAND driver ndfc.c
This patch adds support for 405 PPC's to the 4xx NAND driver
ndfc.c. This is in preparation for the new AMCC 405EZ.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-22 12:46:10 +02:00
Stefan Roese 10603d7676 ppc4xx: Fix problem in 405EZ OCM initialization
As spotted by Bruce Adler this patch fixes an initialization problem
for the 405EZ OCM.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-21 07:41:22 +02:00
Stefan Roese ee96088ca5 Merge with git://www.denx.de/git/u-boot.git 2007-05-18 11:20:02 +02:00
Stefano Babic 70124c2602 Fix compile problem cause my Microblaze merge
Signed-off-by: Stefano Babic <sbabic@denx.de>
2007-05-16 15:21:45 +02:00
Jeffrey Mann ada4697d02 [PATCH] Run new sequoia boards with an EBC speed of 83MHz
Because the Sequoia board does not boot with an EBC faster than 66MHz,
the clock divider are changed after the initial boot process.

This allows for maximum clocking speeds  to be achieved on newer boards.
Sequoia boards with 666.66 MHz processors require that the EBC divider
be set to 3 in order to start the initial boot process at a slower EBC
speed. After the initial boot process, the divider can be set back to 2,
which will cause the boards to run at 83.333MHz. This is backward
compatible with boards with 533.33 MHz processors, as these boards will
already be set with an EBC divider of 2.

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
2007-05-16 13:23:10 +02:00
Wolfgang Denk a7676ea773 Minor Coding Style cleanup, update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-05-16 01:16:53 +02:00
Wolfgang Denk 256176d3d5 Merge with /home/wd/git/u-boot/custodian/u-boot-mpc83xx 2007-05-16 01:12:04 +02:00
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 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
Piotr Kruszynski 7d98ba770a [Motion-PRO] Add MTD and JFFS2 support, also add default partition
definition.
2007-05-10 16:55:52 +02: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