Commit Graph

2582 Commits

Author SHA1 Message Date
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
Markus Klotzbuecher 3a619dd7be Fix an ancient CHANGELOG conflict 2007-05-07 16:43:56 +02:00
Markus Klotzbuecher 6ede0c8b69 Merge with git://www.denx.de/git/u-boot.git 2007-05-07 14:10:38 +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
Michal Simek ffc50f9bb1 new: FSL and MSR support #2 2007-05-05 18:54:42 +02:00
Michal Simek f7e2e0eb06 new: FSL and MSR support 2007-05-05 18:27:16 +02:00
Wolfgang Denk 2f15278c2e Coding stylke cleanup; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-05-05 18:23:11 +02:00
Wolfgang Denk f51697316a Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-05-05 18:07:10 +02:00
Wolfgang Denk 885ec89b64 Add STX GP3 SSA board to MAKEALL script; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-05-05 18:05:02 +02:00
Wolfgang Denk 49db23d452 Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xx 2007-05-05 17:33:22 +02:00
Wolfgang Denk 5499645b3f Make "file" command happy with some config.mk files; update CHANGELOG 2007-05-05 17:15:50 +02:00
Wolfgang Denk 55aee109ce Merge with /home/wd/git/u-boot/custodian/u-boot-nand-flash 2007-05-05 16:57:46 +02:00
Wolfgang Denk 5c3d767621 Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx 2007-05-05 16:48:48 +02:00
Stefan Roese beb7dba2f5 Merge with git://www.denx.de/git/u-boot.git 2007-05-05 08:37:54 +02:00
Jeffrey Mann e3b8c78bc2 ppc4xx: Detect if the sysclk on Sequoia is 33 or 33.333 MHz
The AMCC Secquoia board has been changed in a new revision from using a
33.000 MHz clock to a 33.333 MHz system clock. A bit in the CPLD
indicates the difference. This patch reads that bit and uses the correct
clock speed for the board. This code is backward compatable will all
prior boards. All prior boards will be read as 33.000.

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-05 08:32:14 +02:00
Stefan Roese f544ff6656 ppc4xx: Sequoia: Remove cpu/ppc4xx/speed.c from NAND booting
Using cpu/ppc4xx/speed.c to calculate the bus frequency is too big
for the 4k NAND boot image so define bus_frequency to 133MHz here
which is save for the refresh counter setup.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-05 08:29:01 +02:00
Stefan Roese 9fab1181d0 Merge with git://www.denx.de/git/u-boot.git 2007-05-05 07:10:03 +02:00
Thomas Knobloch a798865905 NAND: Wrong calculation of page number in nand_block_bad()
In case that there is no memory based bad block table available the
function nand_block_checkbad() in drivers/mtd/nand/nand_base.c will call
nand_block_bad() directly. When parameter 'getchip' is set to zero,
nand_block_bad() will not right shift the offset to calculate the
correct page number.

Signed-off-by: Thomas Knobloch <knobloch@siemens.com>
Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-05 07:04:42 +02:00
Wolfgang Denk 9877d7dcd1 Fix initrd length corruption in bootm command.
When using FDT Images, the length of an inital ramdisk was
overwritten (bug introduced by commit 87a449c8, 22 Aug 2006).

Patches by Timur Tabi & Johns Daniel.

Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-05-04 10:02:33 +02:00
Kim Phillips 068aab660b mpc83xx: fix trivial error in MAKEALL
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-05-03 19:43:52 -05:00
Wolfgang Denk c64a89d6ce Update board configuration for STX GP3SSA board:
Enable hush shell, environment in flash rather in EEPROM,
more user-friendly default environment, etc.
The simple EEPROM environment can be selected easily in the board
config file.

Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-05-03 16:34:41 +02:00
Wolfgang Denk 2c6fb199dc Cleanup STX GP3SSA code; fix build and compile problems. 2007-05-03 16:16:10 +02:00
Dan Malek 35171dc04e Add support for STX GP3SSA (stxssa) Board
Signed-off-by Dan Malek, <dan@embeddedalley.com>
2007-05-03 16:13:21 +02:00
Andy Fleming ffa621a0d1 Cleaned up some 85xx PCI bugs
* Cleaned up the CDS PCI Config Tables and added NULL entries to
  the end
* Fixed PCIe LAWBAR assignemt to use the cpu-relative address
* Fixed 85xx PCI code to assign powar region sizes based on the
  config values (rather than hard-coding them)
* Fixed the 8548 CDS PCI2 IO to once again have 0 as the base address

Signed-off-by: Andy Fleming <afleming@freescale.com>
2007-05-02 15:50:13 -05:00
Andy Fleming 6743105988 Add support for the 8568 MDS board
This included some changes to common files:
* Add 8568 processor SVR to various places
* Add support for setting the qe bus-frequency value in the dts
* Add the 8568MDS target to the Makefile

Signed-off-by: Andy Fleming <afleming@freescale.com>
2007-05-02 15:50:02 -05:00
David Updegraff af1c2b84bf Add support for treating unknown PHYs as generic PHYs.
When bringing up u-boot on new boards, PHY support sometimes gets
neglected.  Most PHYs don't really need any special support,
though.  By adding a generic entry that always matches if nothing
else does, we can provide support for "unsupported" PHYs for the
tsec.

The generic PHY driver supports most PHYs, including gigabit.

Signed-off-by: David Updegraff <dave@cray.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2007-05-02 15:38:22 -05:00
James Yang a75af9bfd8 Conditionalize 8641 Rev1.0 MCM workarounds
Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-05-01 12:43:58 -05:00
Timur Tabi f64702b7fc Fix memory initialization on MPC8349E-mITX
Define CFG_DDR_SDRAM_CLK_CNTL for the MPC8349E-mITX and MPC8349E-mITX-GP.
This allows ddr->sdram_clk_cntl to be properly initialized.  This is necessary
on some ITX boards, notably those with a revision 3.1 CPU.

Also change spd_sdram() in cpu/mpc83xx/spd_sdram.c to not write anything into
ddr->sdram_clk_cntl if CFG_DDR_SDRAM_CLK_CNTL is not defined.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Michael Benedict <MBenedict@twacs.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-05-01 12:10:26 -05:00
Kim Phillips 54b2d434ae mpc83xx: replace elaborate boottime verbosity with 'clocks' command
and fix CPU: to align with Board: display text.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-05-01 12:08:36 -05:00
James Yang c1ab82669d Rewrote picos_to_clk() to avoid rounding errors.
Clarified that conversion is to DRAM clocks rather than platform clocks.
Made function static to spd_sdram.c.

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-05-01 11:36:59 -05:00
Stefan Roese bd38b7ecfd Merge with git://www.denx.de/git/u-boot.git 2007-04-29 16:40:31 +02:00
Stefan Roese 6f69bbc8f3 Merge with /home/stefan/git/u-boot/u-boot-ppc4xx 2007-04-29 16:34:10 +02:00
Stefan Roese 8b39501d28 ppc4xx: Bamboo: Use current NAND driver and *not* the legacy driver
Signed-off-by: Stefan Roese <sr@denx.de>
2007-04-29 14:13:01 +02:00
Kim Phillips 5c5d324293 mpc83xx: minor fixups for 8313rdb introduction 2007-04-25 12:34:38 -05:00
Michal Simek 144876a380 [PATCH] MTD partition support, JFFS2 support 2007-04-24 23:01:02 +02:00
Matthias Fuchs 37ed6cdd41 ppc4xx: setup 440EPx/GRx ZMII/RGMII bridge depending on PFC register content.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2007-04-24 14:22:41 +02:00
Andy Fleming 66ed6cca3f Reworked 85xx speed detection code
Changed the code to read the registers and calculate the clock
rates, rather than using a "switch" statement.

Idea from Andrew Klossner <andrew@cesa.opbu.xerox.com>

Signed-off-by: Andy Fleming <afleming@freescale.com>
2007-04-23 19:58:28 -05:00