Fix coding style issues; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
6e1bbe6e3e
commit
61fb15c516
752
CHANGELOG
752
CHANGELOG
|
|
@ -1,3 +1,687 @@
|
||||||
|
commit 467bcee11fe26ad422f2de971aa70866079870f2
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Fri Dec 14 15:36:18 2007 +0100
|
||||||
|
|
||||||
|
cfi_flash: Add manufacturer-specific fixups
|
||||||
|
|
||||||
|
Run fixups based on the JEDEC manufacturer ID independent of the
|
||||||
|
command set ID.
|
||||||
|
|
||||||
|
This changes current behaviour: Previously, geometry reversal for AMD
|
||||||
|
chips were done based on the command set ID, while they are now done
|
||||||
|
based on the JEDEC manufacturer and device ID.
|
||||||
|
|
||||||
|
Also add fixup for top-boot Atmel chips. A fixup is needed for
|
||||||
|
AT49BV6416(T) too, but since u-boot currently only reads the low byte
|
||||||
|
of the device ID, there's no way to tell it apart from AT49BV642D,
|
||||||
|
which should not have this fixup. Since AT49BV642D support is
|
||||||
|
necessary to get ATNGW100 board support into mainline, I've commented
|
||||||
|
out the fixup for now.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 0ddf06ddf6b4bd057ad4c5f0dffea7870ba06a2a
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Fri Dec 14 15:36:17 2007 +0100
|
||||||
|
|
||||||
|
cfi_flash: Add cmdset-specific init functions
|
||||||
|
|
||||||
|
Move things like reading JEDEC IDs and fixing up geometry reversal
|
||||||
|
into separate functions. The geometry reversal fixup is now performed
|
||||||
|
by altering the qry structure directly, which makes the sector init
|
||||||
|
code slightly cleaner.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit e23741f4a6d8047520ef0d4971762749b3587d32
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Fri Dec 14 15:36:16 2007 +0100
|
||||||
|
|
||||||
|
cfi_flash: Read whole QRY structure in one go
|
||||||
|
|
||||||
|
Read out the whole CFI Standard Query structure after successful cfi
|
||||||
|
identification. This allows subsequent code to access this information
|
||||||
|
directly without having to go through flash_read_uchar() and friends.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit df9c25ea04b38a0e05d4f8c73c5cc144cdafa7db
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Mon Dec 17 11:02:44 2007 +0100
|
||||||
|
|
||||||
|
AVR32: Fix logic inversion in disable_interrupts()
|
||||||
|
|
||||||
|
disable_interrupts() should return nonzero if interrupts were
|
||||||
|
_enabled_ before, not disabled.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit acac475212cbedb17b321a363a1c878e2b47b37f
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Fri Dec 14 16:51:22 2007 +0100
|
||||||
|
|
||||||
|
AVR32: Enable interrupts at bootup
|
||||||
|
|
||||||
|
The timer code depends on the timer interrupt to keep track of the
|
||||||
|
upper 32 bits of the cycle counter. This obviously doesn't work when
|
||||||
|
interrupts are disabled the whole time.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 9570bcd87f4db255514f43b6701746c412f8fef0
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Thu Nov 15 10:03:45 2007 +0100
|
||||||
|
|
||||||
|
AVR32: Fix wrong pin setup for USART3
|
||||||
|
|
||||||
|
As reported by Gerhard Berghofer:
|
||||||
|
|
||||||
|
in "gpio_enable_usart3" the correct pins for USART 3 are PB17 and PB18
|
||||||
|
instead of PB18 and PB19.
|
||||||
|
|
||||||
|
which is obviously correct. There's currently no code that uses
|
||||||
|
USART3, but custom boards may run into problems.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 09ea0de03dcc3ee7af045b0b572227bda2c1c918
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Thu Nov 1 12:44:20 2007 +0100
|
||||||
|
|
||||||
|
README: Remove ATSTK1000 daughterboard list
|
||||||
|
|
||||||
|
As noted by Kim Phillips, these lists tend to become out of date.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit c81cbbad21cb0ae983e2e796211202234cdc8be2
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Tue Oct 30 14:56:36 2007 +0100
|
||||||
|
|
||||||
|
Add ATSTK100[234] to MAINTAINERS
|
||||||
|
|
||||||
|
Add all the ATSTK1000 daughterboards to MAINTAINERS along with their
|
||||||
|
"mother". Also update the entry for ATSTK1000 to be not only about the
|
||||||
|
AP7000 CPU; it's intended to handle all CPUs in the AT32AP family.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 64ff2357b1727213803591813dbc779c924bf772
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Mon Oct 29 13:02:54 2007 +0100
|
||||||
|
|
||||||
|
AVR32: Add support for the ATSTK1004 board
|
||||||
|
|
||||||
|
ATSTK1004 is a daughterboard for ATSTK1000 with the AT32AP7002 CPU,
|
||||||
|
which is a derivative of AT32AP7000.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 667568db157f374b85abd7e03596ddd1f0b25681
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Mon Oct 29 13:02:54 2007 +0100
|
||||||
|
|
||||||
|
AVR32: Add support for the ATSTK1003 board
|
||||||
|
|
||||||
|
ATSTK1003 is a daughterboard for ATSTK1000 with the AT32AP7001 CPU,
|
||||||
|
which is a derivative of AT32AP7000.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 5fee84a794a51ec830548cda485a770efb018b92
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Mon Oct 29 13:23:33 2007 +0100
|
||||||
|
|
||||||
|
AVR32: Make some AT32AP700x peripherals optional
|
||||||
|
|
||||||
|
Add a chip-features file providing definitions of the form
|
||||||
|
|
||||||
|
AT32AP700x_CHIP_HAS_<peripheral>
|
||||||
|
|
||||||
|
to indicate the availability of the given peripheral on the currently
|
||||||
|
selected chip.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 36f28f8a9605ee5dcfa330482cfc62171261af97
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Mon Oct 29 13:09:56 2007 +0100
|
||||||
|
|
||||||
|
AVR32: Rename at32ap7000 -> at32ap700x
|
||||||
|
|
||||||
|
The SoC-specific code for all the AT32AP700x CPUs is practically
|
||||||
|
identical; the only difference is that some chips have less features
|
||||||
|
than others. By doing this rename, we can add support for the AP7000
|
||||||
|
derivatives simply by making some features conditional.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 4d5fa99c73f354e7cf985efcf417ea55ca2f6a5e
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Fri Jun 29 18:22:34 2007 +0200
|
||||||
|
|
||||||
|
atmel_mci: Show SR when block read fails
|
||||||
|
|
||||||
|
Show controller status as well as card status when an error occurs
|
||||||
|
during block read.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 12d30aa79779c2aa7a998bbae4c075f822a53004
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Thu Dec 13 12:56:34 2007 +0100
|
||||||
|
|
||||||
|
cfi_flash: Use map_physmem() and unmap_physmem()
|
||||||
|
|
||||||
|
Use map_physmem() and unmap_physmem() to convert from physical to
|
||||||
|
virtual addresses. This gives the arch a chance to provide an uncached
|
||||||
|
mapping for flash accesses.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 4d7d6936eb29af7cca330937808312aa5f61454d
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Thu Dec 13 12:56:33 2007 +0100
|
||||||
|
|
||||||
|
Introduce map_physmem() and unmap_physmem()
|
||||||
|
|
||||||
|
map_physmem() returns a virtual address which can be used to access a
|
||||||
|
given physical address without involving the cache. unmap_physmem()
|
||||||
|
should be called when the virtual address returned by map_physmem() is
|
||||||
|
no longer needed.
|
||||||
|
|
||||||
|
This patch adds a stub implementation which simply returns the
|
||||||
|
physical address cast to a uchar * for all architectures except AVR32,
|
||||||
|
which converts the physical address to an uncached virtual mapping.
|
||||||
|
unmap_physmem() is a no-op on all architectures, but if any
|
||||||
|
architecture needs to do such mappings through the TLB, this is the
|
||||||
|
hook where those TLB entries can be invalidated.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit cdbaefb5f5f03e54455d0439dcf6dbd97ead1f9d
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Thu Dec 13 12:56:32 2007 +0100
|
||||||
|
|
||||||
|
cfi_flash: Introduce read and write accessors
|
||||||
|
|
||||||
|
Introduce flash_read{8,16,32,64) and flash_write{8,16,32,64} and use
|
||||||
|
them to access the flash memory. This makes it clearer when the flash
|
||||||
|
is actually being accessed; merely dereferencing a volatile pointer
|
||||||
|
looks just like any other kind of access.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 812711ce6b3a386125dcf0d6a59588e461abbb87
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Thu Dec 13 12:56:31 2007 +0100
|
||||||
|
|
||||||
|
Implement __raw_{read,write}[bwl] on all architectures
|
||||||
|
|
||||||
|
This adds implementations of __raw_read[bwl] and __raw_write[bwl] to
|
||||||
|
m68k, ppc, nios and nios2. The m68k and ppc implementations were taken
|
||||||
|
from Linux.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit be60a9021c82fc5aecd5b2b1fc96f70a9c81bbcd
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Sat Oct 6 18:55:36 2007 +0200
|
||||||
|
|
||||||
|
cfi_flash: Reorder functions and eliminate extra prototypes
|
||||||
|
|
||||||
|
Reorder the functions in cfi_flash.c so that each function only uses
|
||||||
|
functions that have been defined before it. This allows the static
|
||||||
|
prototype declarations near the top to be eliminated and might allow
|
||||||
|
gcc to do a better job inlining functions.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 3055793bcbdf24b1f8117f606ffb766d32eb766f
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Thu Dec 13 12:56:29 2007 +0100
|
||||||
|
|
||||||
|
cfi_flash: Make some needlessly global functions static
|
||||||
|
|
||||||
|
Make functions not declared in any header file static.
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 7e5b9b471518c5652febc68ba62b432193d6abf4
|
||||||
|
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
Date: Thu Dec 13 12:56:28 2007 +0100
|
||||||
|
|
||||||
|
cfi_flash: Break long lines
|
||||||
|
|
||||||
|
This patch tries to keep all lines in the cfi_flash driver below 80
|
||||||
|
columns. There are a few lines left which don't fit this requirement
|
||||||
|
because I couldn't find any trivial way to break them (i.e. it would
|
||||||
|
take some restructuring, which I intend to do in a later patch.)
|
||||||
|
|
||||||
|
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
|
||||||
|
|
||||||
|
commit 42026c9cb3a76849b41e6e24abfb7b56807a5c1a
|
||||||
|
Author: Bartlomiej Sieka <tur@semihalf.com>
|
||||||
|
Date: Tue Dec 11 13:59:57 2007 +0100
|
||||||
|
|
||||||
|
CFI: synchronize command offsets with Linux CFI driver
|
||||||
|
|
||||||
|
Fixes non-working CFI Flash on the Inka4x0 board.
|
||||||
|
|
||||||
|
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
|
||||||
|
|
||||||
|
commit 8ff3de61fc5f9b3b21647bce081a3b7f710f0d4d
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Fri Dec 7 12:17:34 2007 -0600
|
||||||
|
|
||||||
|
Handle MPC85xx PCIe reset errata (PCI-Ex 38)
|
||||||
|
|
||||||
|
On the MPC85xx boards that have PCIe enable the PCIe errata fix.
|
||||||
|
(MPC8544DS, MPC8548CDS, MPC8568MDS).
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 82ac8c97145a4c3bf8b3dbfad00fa96e920f9b9c
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Fri Dec 7 12:04:30 2007 -0600
|
||||||
|
|
||||||
|
Update Freescale MPC85xx ADS/CDS/MDS board config
|
||||||
|
|
||||||
|
* Enabled CONFIG_CMD_ELF
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit d435793229ce29a42797c1edc39f5b34f987f91a
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Fri Dec 7 04:59:26 2007 -0600
|
||||||
|
|
||||||
|
Handle Asynchronous DDR clock on 85xx
|
||||||
|
|
||||||
|
The MPC8572 introduces the concept of an asynchronous DDR clock with
|
||||||
|
regards to the platform clock.
|
||||||
|
|
||||||
|
Introduce get_ddr_freq() to report the DDR freq regardless of sync/async
|
||||||
|
mode.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 22abb2d2eaf7b795a6923c6273ec9cb53fda9a10
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 10:34:28 2007 -0600
|
||||||
|
|
||||||
|
Update Freescale MPC85xx ADS/CDS/MDS board config
|
||||||
|
|
||||||
|
* Removed some misc environment setup
|
||||||
|
* Enabled CONFIG_CMDLINE_EDITING
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 415a613babb84d5e5d5b42e8e553868c71fc3a64
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 10:47:44 2007 -0600
|
||||||
|
|
||||||
|
Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale.
|
||||||
|
|
||||||
|
Minor path corrections needed to ensure buildability.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit c2d943ffbfd3359b3b45d177b437379d2cb86fbf
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 10:16:18 2007 -0600
|
||||||
|
|
||||||
|
Move the MPC8540 ADS board under board/freescale.
|
||||||
|
|
||||||
|
Minor path corrections needed to ensure buildability.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 870ceac5b3a3486c109396e005af81ae762b5710
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 10:14:50 2007 -0600
|
||||||
|
|
||||||
|
Move the MPC8560 ADS board under board/freescale.
|
||||||
|
|
||||||
|
Minor path corrections needed to ensure buildability.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit acbca876fb3fec25cd9c55b0efc81ff618ff5262
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 10:13:47 2007 -0600
|
||||||
|
|
||||||
|
Move the MPC8568 MDS board under board/freescale.
|
||||||
|
|
||||||
|
Minor path corrections needed to ensure buildability.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit a853d56c59b33415304531443633808736acfc6e
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 02:18:59 2007 -0600
|
||||||
|
|
||||||
|
Use standard LAWAR_TRGT_IF_* defines for LAW setup on 85xx
|
||||||
|
|
||||||
|
We already had defines for LAWAR_TRGT_IF_* that we should use
|
||||||
|
rather than creating new ones. Also, added some missing defines for
|
||||||
|
PCIE targets.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 04db400892da37b76a585e332a0c137954ad2015
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 02:10:09 2007 -0600
|
||||||
|
|
||||||
|
Stop using immap_t on 85xx
|
||||||
|
|
||||||
|
In the future the offsets to various blocks may not be in same location.
|
||||||
|
Move to using CFG_MPC85xx_*_ADDR as the base of the registers
|
||||||
|
instead of getting it via &immap.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 2714223f8e04ab3e4133ff65872eef366d90bfea
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 01:23:09 2007 -0600
|
||||||
|
|
||||||
|
Remove CONFIG_OF_FLAT_TREE related code from mpc85xx since we now use libfdt
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit c480861bf000156e6a3e932c258db59ff2212dd3
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 01:06:19 2007 -0600
|
||||||
|
|
||||||
|
Update MPC8568 MDS to use libfdt
|
||||||
|
|
||||||
|
Updated the MPC8568 MDS config to use libfdt and assume use of aliases for
|
||||||
|
ethernet, pci, and serial for the various fixups that are done.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 1563f56e0c68f6920f956382d6d13bee3f01c0f7
|
||||||
|
Author: Haiying Wang <Haiying.Wang@freescale.com>
|
||||||
|
Date: Wed Nov 14 15:52:06 2007 -0500
|
||||||
|
|
||||||
|
Add PCI Express support on MPC8568MDS
|
||||||
|
|
||||||
|
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit b90d25497625b90ffa3f2911a0895ca237556ff5
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 00:11:44 2007 -0600
|
||||||
|
|
||||||
|
Update MPC85xx CDS to use libfdt
|
||||||
|
|
||||||
|
Updated the MPC85xx CDS config to use libfdt and assume use of aliases for
|
||||||
|
ethernet, pci, and serial for the various fixups that are done.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 0fd5ec66b10521a057ad73e69ab5f0f9eafba255
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Wed Nov 28 22:54:27 2007 -0600
|
||||||
|
|
||||||
|
Update MPC8540 ADS to use libfdt
|
||||||
|
|
||||||
|
Updated the MPC8540 ADS config to use libfdt and assume use of aliases for
|
||||||
|
ethernet, pci, and serial for the various fixups that are done.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 5ce715802f6c50dc78b3405b92f184b1e3710519
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Wed Nov 28 22:40:31 2007 -0600
|
||||||
|
|
||||||
|
Update MPC8560 ADS to use libfdt
|
||||||
|
|
||||||
|
Updated the MPC8560 ADS config to use libfdt and assume use of aliases for
|
||||||
|
ethernet, pci, and serial for the various fixups that are done.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit aafeefbdb8b029f5ca2a195598d0a501a606eea9
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Wed Nov 28 00:36:33 2007 -0600
|
||||||
|
|
||||||
|
Stop using immap_t for cpm offset on 85xx
|
||||||
|
|
||||||
|
In the future the offsets to various blocks may not be in same location.
|
||||||
|
Move to using CFG_MPC85xx_CPM_ADDR as the base of the CPM registers
|
||||||
|
instead of getting it via &immap->im_cpm.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit f59b55a5b8fcadaa99781ba48e7a38e956afa527
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Tue Nov 27 23:25:02 2007 -0600
|
||||||
|
|
||||||
|
Stop using immap_t for guts offset on 85xx
|
||||||
|
|
||||||
|
In the future the offsets to various blocks may not be in same location.
|
||||||
|
Move to using CFG_MPC85xx_GUTS_ADDR as the base of the guts registers
|
||||||
|
instead of getting it via &immap->im_gur.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 50c03c8cf494d91cdec39670d95337c743e16ec9
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Tue Nov 27 22:42:34 2007 -0600
|
||||||
|
|
||||||
|
Update MPC8544 DS config
|
||||||
|
|
||||||
|
* Removed HAS_ETH2/HAS_ETH3 - MPC8544 only has TSEC1/2
|
||||||
|
* Removed some misc environment setup
|
||||||
|
* Moved to using fdtfile & fdtaddr as fdt env var names
|
||||||
|
* Enabled CONFIG_CMDLINE_EDITING
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit addce57e2e4c49e77ffb2020a84690713bb18b47
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Mon Nov 26 17:12:24 2007 -0600
|
||||||
|
|
||||||
|
Update MPC8544DS to use libfdt
|
||||||
|
|
||||||
|
Updated the MPC8544DS config to use libfdt and assume use of aliases for
|
||||||
|
ethernet, pci, and serial for the various fixups that are done.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit f852ce72f100cabd1f11c21c085a0ad8eca9fb65
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Thu Nov 29 00:15:30 2007 -0600
|
||||||
|
|
||||||
|
Add libfdt based ft_cpu_setup for mpc85xx
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 9692c2734a47f23b44a0f68042a3e2ca8d1bfb39
|
||||||
|
Author: Stefan Roese <sr@denx.de>
|
||||||
|
Date: Sat Dec 8 08:25:09 2007 +0100
|
||||||
|
|
||||||
|
CFI: Coding style cleanup
|
||||||
|
|
||||||
|
Signed-off-by: Stefan Roese <sr@denx.de>
|
||||||
|
|
||||||
|
commit 81b20ccc2d795ae9a1199db5a50ad9c28d1e4d22
|
||||||
|
Author: Michael Schwingen <michael@schwingen.org>
|
||||||
|
Date: Fri Dec 7 23:35:02 2007 +0100
|
||||||
|
|
||||||
|
CFI: support JEDEC flash roms in CFI-flash framework
|
||||||
|
|
||||||
|
The following patch adds support for non-CFI flash ROMS, by hooking into the
|
||||||
|
CFI flash code and using most of its code, as recently discussed here in the
|
||||||
|
thread "Mixing CFI and non-CFI flashs".
|
||||||
|
|
||||||
|
Signed-off-by: Michael Schwingen <michael@schwingen.org>
|
||||||
|
Signed-off-by: Stefan Roese <sr@denx.de>
|
||||||
|
|
||||||
|
commit c01b17dd856fa120b2970f50d9598546a4927ec3
|
||||||
|
Author: Gerald Van Baren <vanbaren@cideas.com>
|
||||||
|
Date: Wed Nov 28 21:24:50 2007 -0500
|
||||||
|
|
||||||
|
Conditionally compile fdt_fixup_ethernet()
|
||||||
|
|
||||||
|
Fix compiler warnings: On boards that don't have ethernets defined,
|
||||||
|
don't compile fdt_fixup_ethernet().
|
||||||
|
|
||||||
|
commit 246d4ae6bc282bc1841224e1c5fc49dc925e0bf7
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Tue Nov 27 21:59:46 2007 -0600
|
||||||
|
|
||||||
|
Convert boards that set memory node to use fdt_fixup_memory()
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 151c8b09b35eebe8fd9139cb6c1d91c27b22f058
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Mon Nov 26 17:06:15 2007 -0600
|
||||||
|
|
||||||
|
Added fdt_fixup_stdout that uses aliases to set linux,stdout-path
|
||||||
|
|
||||||
|
We use a combination of the serialN alias and CONFIG_CONS_INDEX to
|
||||||
|
determine which serial alias we should set linux,stdout-path to.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 3c9272813fad84c691d0e4989bb18a3ffebdebfc
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Mon Nov 26 14:57:45 2007 -0600
|
||||||
|
|
||||||
|
Add common memory fixup function
|
||||||
|
|
||||||
|
Add the function fdt_fixup_memory() to fixup the /memory node of the fdt
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 9c9109e7fcf7ac2ca19c95b8ac54b8d1c773b157
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Mon Nov 26 11:19:12 2007 -0600
|
||||||
|
|
||||||
|
Conditionally compile fdt_support.c
|
||||||
|
|
||||||
|
Modify common/Makefile to conditionally compile fdt_support.c based
|
||||||
|
on CONFIG_OF_LIBFDT.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit d88e7ba0980773479e1a64badb293116071b7ef0
|
||||||
|
Author: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
Date: Mon Nov 26 10:41:40 2007 -0600
|
||||||
|
|
||||||
|
Fix build breakage due to libfdt import
|
||||||
|
|
||||||
|
The IDS8247 got lost in the update and need an API update
|
||||||
|
do to rename of functions in libfdt.
|
||||||
|
|
||||||
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
||||||
|
|
||||||
|
commit 28f384b171bbf1fb2dafb1046e6d259a6b2f8714
|
||||||
|
Author: Gerald Van Baren <vanbaren@cideas.com>
|
||||||
|
Date: Fri Nov 23 19:43:20 2007 -0500
|
||||||
|
|
||||||
|
Add spaces around the = in the fdt print format.
|
||||||
|
|
||||||
|
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
|
||||||
|
|
||||||
|
commit 29592ecba3b932b9b152bcec6c0c0806412db4a3
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Fri Dec 7 01:25:38 2007 +0900
|
||||||
|
|
||||||
|
sh: Moved driver of the SuperH dependence
|
||||||
|
|
||||||
|
The composition of the directory in the drivers/ changed.
|
||||||
|
I moved SuperH serial driver and marubun PCMCIA driver.
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit 41be969f4957115ed7b1fe8b890bfaee99d7a7a2
|
||||||
|
Author: Wolfgang Denk <wd@denx.de>
|
||||||
|
Date: Thu Dec 6 10:21:19 2007 +0100
|
||||||
|
|
||||||
|
Release v1.3.1
|
||||||
|
|
||||||
|
Signed-off-by: Wolfgang Denk <wd@denx.de>
|
||||||
|
|
||||||
|
commit cf5933ba1e97a1cd8f5f24070e820f21d976eaeb
|
||||||
|
Author: Wolfgang Denk <wd@denx.de>
|
||||||
|
Date: Thu Dec 6 10:21:03 2007 +0100
|
||||||
|
|
||||||
|
ADS5121 Board: fix compile problem.
|
||||||
|
|
||||||
|
Signed-off-by: Wolfgang Denk <wd@denx.de>
|
||||||
|
|
||||||
|
commit 8d4f040a3c15036a6ea25a9c39e7d89fefa8440d
|
||||||
|
Author: Wolfgang Denk <wd@denx.de>
|
||||||
|
Date: Mon Dec 3 00:15:28 2007 +0100
|
||||||
|
|
||||||
|
Prepare for 1.3.1-rc1
|
||||||
|
|
||||||
|
Signed-off-by: Wolfgang Denk <wd@denx.de>
|
||||||
|
|
||||||
|
commit 260eea5676ca46903a335686cc020b29c4ca46fe
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Thu Nov 29 01:21:54 2007 +0900
|
||||||
|
|
||||||
|
sh: Add SuperH boards maintainer to MAINTAINERS file
|
||||||
|
|
||||||
|
Add MS7750SE and MS7722SE's board maintainer to MAINTAINERS file.
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit aa9c4f1d22701a92347c1c81f34d12c8ad3a3747
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Thu Nov 29 00:13:04 2007 +0900
|
||||||
|
|
||||||
|
sh: Add ms7750se support in MAKEALL
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit c7144373427a178332bf9754131c8c34c52c200a
|
||||||
|
Author: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||||
|
Date: Tue Nov 27 09:44:53 2007 +0100
|
||||||
|
|
||||||
|
sh: Add sh3 and sh4 support in MAKEALL
|
||||||
|
|
||||||
|
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit 130080874a3d28450098481a262c5f7c855e908d
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Sun Nov 25 02:51:17 2007 +0900
|
||||||
|
|
||||||
|
sh: Add document for SuperH.
|
||||||
|
|
||||||
|
This document is a summary of information concerning SuperH of U-Boot.
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit 33ecdc2f9d64926e1a6067b28f3a0aefc3b6d23d
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Sun Nov 25 02:39:31 2007 +0900
|
||||||
|
|
||||||
|
sh: Add marubun's pcmcia driver
|
||||||
|
|
||||||
|
Marubun pcmcia is a chip for PCMCIA used with SuperH.
|
||||||
|
Of course, this can be used even by other architectures.
|
||||||
|
When use this driver, came to be able to use CompactFlash
|
||||||
|
and Ethernet.
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit febd86b969b975289ed948f1ac0eb9722da41ced
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Sun Nov 25 02:32:13 2007 +0900
|
||||||
|
|
||||||
|
sh: Update SuperH SCIF driver
|
||||||
|
|
||||||
|
- Changed volatile unsigned to vu_.
|
||||||
|
- Changed Makefile for kconfig.
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
commit a5f601fd1b1278deae5aa9fc27a232b0d1c1c788
|
commit a5f601fd1b1278deae5aa9fc27a232b0d1c1c788
|
||||||
Author: Wolfgang Denk <wd@denx.de>
|
Author: Wolfgang Denk <wd@denx.de>
|
||||||
Date: Mon Nov 26 19:18:21 2007 +0100
|
Date: Mon Nov 26 19:18:21 2007 +0100
|
||||||
|
|
@ -1927,6 +2611,56 @@ Date: Mon Sep 24 00:08:37 2007 +0200
|
||||||
|
|
||||||
synchronizition with mainline
|
synchronizition with mainline
|
||||||
|
|
||||||
|
commit eda3e1e6619ad0bee94ae4b16c99d88e77e2af13
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Sun Sep 23 02:42:38 2007 +0900
|
||||||
|
|
||||||
|
sh: Add support command of ide with sh
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit d91ea45d15cf8e0987456bd211ffbb650824b6f1
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Sun Sep 23 02:38:42 2007 +0900
|
||||||
|
|
||||||
|
sh: Update Makefile
|
||||||
|
|
||||||
|
Add support MS7722SE01 to Makefile.
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit 6c0bbdccd379f5c8702af9e0765294c2fb7472a6
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Sun Sep 23 02:31:13 2007 +0900
|
||||||
|
|
||||||
|
sh: Add support Renesas sh7722 processor and Hitachi MS7722SE01 board
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit 047375bfa4c3052fa50a748da7ff89e9dad3b364
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Sun Sep 23 02:19:24 2007 +0900
|
||||||
|
|
||||||
|
sh: Update MS7750SE01 platform
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit 516ad760db3553766267ada01b7d5d727faa4bbd
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Sun Sep 23 02:17:08 2007 +0900
|
||||||
|
|
||||||
|
sh: Remove comment out code from include/asm-sh/cpu_sh4.h
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit b02bad128669e567fce87d8df823b06a0144b8db
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
Date: Sun Sep 23 02:12:30 2007 +0900
|
||||||
|
|
||||||
|
sh: Update core code of SuperH.
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
commit 66dcad3a9a53e0766d90e0084123bd8529522fb0
|
commit 66dcad3a9a53e0766d90e0084123bd8529522fb0
|
||||||
Author: Wolfgang Denk <wd@denx.de>
|
Author: Wolfgang Denk <wd@denx.de>
|
||||||
Date: Thu Sep 20 00:04:14 2007 +0200
|
Date: Thu Sep 20 00:04:14 2007 +0200
|
||||||
|
|
@ -8634,6 +9368,24 @@ Date: Tue May 15 07:55:42 2007 -0700
|
||||||
|
|
||||||
Fix to compile JSE against 20070514 git of u-boot
|
Fix to compile JSE against 20070514 git of u-boot
|
||||||
|
|
||||||
|
commit 69df3c4da0c93017cceb25a366e794570bd0ed98
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@rahute.(none)>
|
||||||
|
Date: Sun May 13 21:01:03 2007 +0900
|
||||||
|
|
||||||
|
sh: MS7750SE support.
|
||||||
|
|
||||||
|
This adds support for the Hitachi MS7750SE.
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
|
commit 0b135cfc2e524dc249b75057b55dd4cc09842e27
|
||||||
|
Author: Nobuhiro Iwamatsu <iwamatsu@rahute.(none)>
|
||||||
|
Date: Sun May 13 20:58:00 2007 +0900
|
||||||
|
|
||||||
|
sh: First support code of SuperH.
|
||||||
|
|
||||||
|
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
commit 61936667e86a250ae12fd2dc189d3588f0a59e0b
|
commit 61936667e86a250ae12fd2dc189d3588f0a59e0b
|
||||||
Author: Stefan Roese <sr@denx.de>
|
Author: Stefan Roese <sr@denx.de>
|
||||||
Date: Fri May 11 12:01:49 2007 +0200
|
Date: Fri May 11 12:01:49 2007 +0200
|
||||||
|
|
|
||||||
|
|
@ -29,4 +29,3 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
TEXT_BASE = 0x8FFC0000
|
TEXT_BASE = 0x8FFC0000
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -200,8 +200,6 @@ bsc_init:
|
||||||
rts
|
rts
|
||||||
mov #0, r0
|
mov #0, r0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
|
|
||||||
CCR_A: .long CCR
|
CCR_A: .long CCR
|
||||||
|
|
@ -223,7 +221,7 @@ FRQCR_D: .long 0x07022538
|
||||||
|
|
||||||
PSELA_A: .long 0xa405014E
|
PSELA_A: .long 0xa405014E
|
||||||
PSELA_D: .word 0x0A10
|
PSELA_D: .word 0x0A10
|
||||||
.align 2
|
.align 2
|
||||||
|
|
||||||
DRVCR_A: .long 0xa405018A
|
DRVCR_A: .long 0xa405018A
|
||||||
DRVCR_D: .word 0x0554
|
DRVCR_D: .word 0x0554
|
||||||
|
|
|
||||||
|
|
@ -57,4 +57,3 @@ void led_set_state (unsigned short value)
|
||||||
{
|
{
|
||||||
*((volatile unsigned short *) LED_BASE) = (value & 0xFF);
|
*((volatile unsigned short *) LED_BASE) = (value & 0xFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -103,4 +103,3 @@ SECTIONS
|
||||||
|
|
||||||
PROVIDE (_end = .);
|
PROVIDE (_end = .);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -177,4 +177,3 @@ MCR_D1: .long MCR_D1_VALUE
|
||||||
MCR_D2: .long MCR_D2_VALUE
|
MCR_D2: .long MCR_D2_VALUE
|
||||||
RFCR_A: .long RFCR
|
RFCR_A: .long RFCR
|
||||||
RFCR_D: .long 0xA400 /* RFCR Write Code A4h Data 00h */
|
RFCR_D: .long 0xA400 /* RFCR Write Code A4h Data 00h */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -103,4 +103,3 @@ SECTIONS
|
||||||
|
|
||||||
PROVIDE (_end = .);
|
PROVIDE (_end = .);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,36 +30,36 @@
|
||||||
* Jump to P2 area.
|
* Jump to P2 area.
|
||||||
* When handling TLB or caches, we need to do it from P2 area.
|
* When handling TLB or caches, we need to do it from P2 area.
|
||||||
*/
|
*/
|
||||||
#define jump_to_P2() \
|
#define jump_to_P2() \
|
||||||
do { \
|
do { \
|
||||||
unsigned long __dummy; \
|
unsigned long __dummy; \
|
||||||
__asm__ __volatile__( \
|
__asm__ __volatile__( \
|
||||||
"mov.l 1f, %0\n\t" \
|
"mov.l 1f, %0\n\t" \
|
||||||
"or %1, %0\n\t" \
|
"or %1, %0\n\t" \
|
||||||
"jmp @%0\n\t" \
|
"jmp @%0\n\t" \
|
||||||
" nop\n\t" \
|
" nop\n\t" \
|
||||||
".balign 4\n" \
|
".balign 4\n" \
|
||||||
"1: .long 2f\n" \
|
"1: .long 2f\n" \
|
||||||
"2:" \
|
"2:" \
|
||||||
: "=&r" (__dummy) \
|
: "=&r" (__dummy) \
|
||||||
: "r" (0x20000000)); \
|
: "r" (0x20000000)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Back to P1 area.
|
* Back to P1 area.
|
||||||
*/
|
*/
|
||||||
#define back_to_P1() \
|
#define back_to_P1() \
|
||||||
do { \
|
do { \
|
||||||
unsigned long __dummy; \
|
unsigned long __dummy; \
|
||||||
__asm__ __volatile__( \
|
__asm__ __volatile__( \
|
||||||
"nop;nop;nop;nop;nop;nop;nop\n\t" \
|
"nop;nop;nop;nop;nop;nop;nop\n\t" \
|
||||||
"mov.l 1f, %0\n\t" \
|
"mov.l 1f, %0\n\t" \
|
||||||
"jmp @%0\n\t" \
|
"jmp @%0\n\t" \
|
||||||
" nop\n\t" \
|
" nop\n\t" \
|
||||||
".balign 4\n" \
|
".balign 4\n" \
|
||||||
"1: .long 2f\n" \
|
"1: .long 2f\n" \
|
||||||
"2:" \
|
"2:" \
|
||||||
: "=&r" (__dummy)); \
|
: "=&r" (__dummy)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define CACHE_VALID 1
|
#define CACHE_VALID 1
|
||||||
|
|
|
||||||
|
|
@ -36,4 +36,3 @@ void enable_interrupts (void)
|
||||||
int disable_interrupts (void){
|
int disable_interrupts (void){
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,4 +72,3 @@ loop:
|
||||||
._gd_init: .long (_start - CFG_GBL_DATA_SIZE)
|
._gd_init: .long (_start - CFG_GBL_DATA_SIZE)
|
||||||
._stack_init: .long (_start - CFG_GBL_DATA_SIZE - CFG_MALLOC_LEN - 16)
|
._stack_init: .long (_start - CFG_GBL_DATA_SIZE - CFG_MALLOC_LEN - 16)
|
||||||
._sh_generic_init: .long sh_generic_init
|
._sh_generic_init: .long sh_generic_init
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,5 +48,3 @@ void reset_cpu (unsigned long ignored)
|
||||||
{
|
{
|
||||||
while(1);
|
while(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,4 +59,3 @@ U-Boot for Renesas SuperH
|
||||||
================================================================================
|
================================================================================
|
||||||
Copyright (c) 2007
|
Copyright (c) 2007
|
||||||
Nobuhiro Iwamatsu <iwamatsu@nigaur.org>
|
Nobuhiro Iwamatsu <iwamatsu@nigaur.org>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@ gd_t *global_data;
|
||||||
*/
|
*/
|
||||||
#define EXPORT_FUNC(x) \
|
#define EXPORT_FUNC(x) \
|
||||||
asm volatile ( \
|
asm volatile ( \
|
||||||
" .globl _" #x "\n_" \
|
" .globl _" #x "\n_" \
|
||||||
#x ":\n" \
|
#x ":\n" \
|
||||||
" P0 = [P5 + %0]\n" \
|
" P0 = [P5 + %0]\n" \
|
||||||
" P0 = [P0 + %1]\n" \
|
" P0 = [P0 + %1]\n" \
|
||||||
|
|
@ -155,17 +155,17 @@ gd_t *global_data;
|
||||||
/*
|
/*
|
||||||
* r13 holds the pointer to the global_data. r1 is a call clobbered.
|
* r13 holds the pointer to the global_data. r1 is a call clobbered.
|
||||||
*/
|
*/
|
||||||
#define EXPORT_FUNC(x) \
|
#define EXPORT_FUNC(x) \
|
||||||
asm volatile ( \
|
asm volatile ( \
|
||||||
" .align 2\n" \
|
" .align 2\n" \
|
||||||
" .globl " #x "\n" \
|
" .globl " #x "\n" \
|
||||||
#x ":\n" \
|
#x ":\n" \
|
||||||
" mov r13, r1\n" \
|
" mov r13, r1\n" \
|
||||||
" add %0, r1\n" \
|
" add %0, r1\n" \
|
||||||
" add %1, r1\n" \
|
" add %1, r1\n" \
|
||||||
" jmp @r1\n" \
|
" jmp @r1\n" \
|
||||||
" nop\n" \
|
" nop\n" \
|
||||||
" nop\n" \
|
" nop\n" \
|
||||||
: : "i"(offsetof(gd_t, jt)), "i"(XF_ ## x * sizeof(void *)) : "r1");
|
: : "i"(offsetof(gd_t, jt)), "i"(XF_ ## x * sizeof(void *)) : "r1");
|
||||||
#else
|
#else
|
||||||
#error stubs definition missing for this architecture
|
#error stubs definition missing for this architecture
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define __ASM_SH_BITOPS_H
|
#define __ASM_SH_BITOPS_H
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
//#include <asm/system.h>
|
|
||||||
#include <asm/irqflags.h>
|
#include <asm/irqflags.h>
|
||||||
/* For __swab32 */
|
/* For __swab32 */
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
|
|
@ -99,8 +98,6 @@ static inline int test_and_change_bit(int nr, volatile void * addr)
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
//#include <asm-generic/bitops/non-atomic.h>
|
|
||||||
|
|
||||||
static inline unsigned long ffz(unsigned long word)
|
static inline unsigned long ffz(unsigned long word)
|
||||||
{
|
{
|
||||||
unsigned long result;
|
unsigned long result;
|
||||||
|
|
@ -121,46 +118,34 @@ static inline unsigned long ffz(unsigned long word)
|
||||||
*
|
*
|
||||||
* Undefined if no bit exists, so code should check against 0 first.
|
* Undefined if no bit exists, so code should check against 0 first.
|
||||||
*/
|
*/
|
||||||
static inline int ffs(int x)
|
static inline int ffs (int x)
|
||||||
{
|
{
|
||||||
int r = 1;
|
int r = 1;
|
||||||
|
|
||||||
if (!x)
|
if (!x)
|
||||||
return 0;
|
return 0;
|
||||||
if (!(x & 0xffff)) {
|
if (!(x & 0xffff)) {
|
||||||
x >>= 16;
|
x >>= 16;
|
||||||
r += 16;
|
r += 16;
|
||||||
}
|
}
|
||||||
if (!(x & 0xff)) {
|
if (!(x & 0xff)) {
|
||||||
x >>= 8;
|
x >>= 8;
|
||||||
r += 8;
|
r += 8;
|
||||||
}
|
}
|
||||||
if (!(x & 0xf)) {
|
if (!(x & 0xf)) {
|
||||||
x >>= 4;
|
x >>= 4;
|
||||||
r += 4;
|
r += 4;
|
||||||
}
|
}
|
||||||
if (!(x & 3)) {
|
if (!(x & 3)) {
|
||||||
x >>= 2;
|
x >>= 2;
|
||||||
r += 2;
|
r += 2;
|
||||||
}
|
}
|
||||||
if (!(x & 1)) {
|
if (!(x & 1)) {
|
||||||
x >>= 1;
|
x >>= 1;
|
||||||
r += 1;
|
r += 1;
|
||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
#include <asm-generic/bitops/find.h>
|
|
||||||
#include <asm-generic/bitops/ffs.h>
|
|
||||||
#include <asm-generic/bitops/hweight.h>
|
|
||||||
#include <asm-generic/bitops/sched.h>
|
|
||||||
#include <asm-generic/bitops/ext2-non-atomic.h>
|
|
||||||
#include <asm-generic/bitops/ext2-atomic.h>
|
|
||||||
#include <asm-generic/bitops/minix.h>
|
|
||||||
#include <asm-generic/bitops/fls.h>
|
|
||||||
#include <asm-generic/bitops/fls64.h>
|
|
||||||
#endif
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
#endif /* __ASM_SH_BITOPS_H */
|
#endif /* __ASM_SH_BITOPS_H */
|
||||||
|
|
|
||||||
|
|
@ -28,4 +28,3 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@
|
||||||
#ifndef __ASM_SH_U_BOOT_H_
|
#ifndef __ASM_SH_U_BOOT_H_
|
||||||
#define __ASM_SH_U_BOOT_H_
|
#define __ASM_SH_U_BOOT_H_
|
||||||
|
|
||||||
|
|
||||||
typedef struct bd_info {
|
typedef struct bd_info {
|
||||||
unsigned long bi_memstart; /* start of DRAM memory */
|
unsigned long bi_memstart; /* start of DRAM memory */
|
||||||
unsigned long bi_memsize; /* size of DRAM memory in bytes */
|
unsigned long bi_memsize; /* size of DRAM memory in bytes */
|
||||||
|
|
@ -41,4 +40,3 @@ typedef struct bd_info {
|
||||||
} bd_t;
|
} bd_t;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,6 @@
|
||||||
/* MEMORY */
|
/* MEMORY */
|
||||||
#define MS7722SE_SDRAM_BASE (0x8C000000)
|
#define MS7722SE_SDRAM_BASE (0x8C000000)
|
||||||
#define MS7722SE_FLASH_BASE_1 (0xA0000000)
|
#define MS7722SE_FLASH_BASE_1 (0xA0000000)
|
||||||
//#define MS7722SE_FLASH_BASE_1 (0xA1000000)
|
|
||||||
#define MS7722SE_FLASH_BANK_SIZE (8*1024 * 1024)
|
#define MS7722SE_FLASH_BANK_SIZE (8*1024 * 1024)
|
||||||
|
|
||||||
#define CFG_LONGHELP /* undef to save memory */
|
#define CFG_LONGHELP /* undef to save memory */
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
/*
|
/*
|
||||||
* Command line configuration.
|
* Command line configuration.
|
||||||
*/
|
*/
|
||||||
//#include <config_cmd_default.h>
|
/*#include <config_cmd_default.h>*/
|
||||||
|
|
||||||
#define CONFIG_CMD_DFL
|
#define CONFIG_CMD_DFL
|
||||||
#define CONFIG_CMD_FLASH
|
#define CONFIG_CMD_FLASH
|
||||||
|
|
|
||||||
|
|
@ -191,7 +191,7 @@ void sh_generic_init (void)
|
||||||
puts ("Net: ");
|
puts ("Net: ");
|
||||||
eth_initialize(gd->bd);
|
eth_initialize(gd->bd);
|
||||||
|
|
||||||
if ((s = getenv ("bootfile")) != NULL) {
|
if ((s = getenv ("bootfile")) != NULL) {
|
||||||
copy_filename (BootFile, s, sizeof (BootFile));
|
copy_filename (BootFile, s, sizeof (BootFile));
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_CMD_NET */
|
#endif /* CONFIG_CMD_NET */
|
||||||
|
|
|
||||||
|
|
@ -72,4 +72,3 @@ void do_bootm_linux (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
|
||||||
|
|
||||||
kernel();
|
kernel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue