07 Oct, 2006
1 commit
-
Hrm, there's no way this ever built at time of merge. There's a missing } and
the wrong type on phy_irq.Also, another const for get_property().
CC arch/powerpc/sysdev/fsl_soc.o
arch/powerpc/sysdev/fsl_soc.c: In function 'fs_enet_of_init':
arch/powerpc/sysdev/fsl_soc.c:625: error: assignment of read-only variable 'phy_irq'
arch/powerpc/sysdev/fsl_soc.c:625: warning: assignment makes integer from pointer without a cast
arch/powerpc/sysdev/fsl_soc.c:661: warning: assignment discards qualifiers from pointer target type
arch/powerpc/sysdev/fsl_soc.c:684: error: subscripted value is neither array nor pointer
arch/powerpc/sysdev/fsl_soc.c:687: error: subscripted value is neither array nor pointer
arch/powerpc/sysdev/fsl_soc.c:722: warning: ISO C90 forbids mixed declarations and code
arch/powerpc/sysdev/fsl_soc.c:728: error: invalid storage class for function 'cpm_uart_of_init'
arch/powerpc/sysdev/fsl_soc.c:798: error: initializer element is not constant
arch/powerpc/sysdev/fsl_soc.c:798: error: expected declaration or statement at end of input
make[1]: *** [arch/powerpc/sysdev/fsl_soc.o] Error 1Signed-off-by: Olof Johansson
Signed-off-by: Paul Mackerras
04 Oct, 2006
1 commit
-
This has modules of common directories related to the
mpc8272ADS board, mainly common cpm2 changes and fsl_soc.c
portions related to the bitbang MDIO and other mechanisms specific
for this family.Signed-off-by: Vitaly Bordug
22 Sep, 2006
3 commits
-
The fs_no mean used to be fs_enet driver driven, hence it was an
enumeration across all the possible fs_enet "users" in the SoC. Now, with
QE on the pipeline, and to make DTS descriptions more clear, fs_no features
relevant SoC part number, with additional field to describe the SoC type.Another reason for that is now not only fs_enet is going to utilize those
stuff. There might be UART, HLDC, and even USB, so to prevent confusion and
be ready for upcoming OF_device transfer, fs_enet and cpm_uart drivers were
updated in that concern, as well as the relevant DTS.Signed-off-by: Vitaly Bordug
-
Incorporating the new way of cpm2 immr access, introduced in the previous
patch, into CPM2 peripheral devices (fs_enet and cpm_uart). Both ppc and
powerpc approved working( real actions taken in powerpc only, ppc just
has a wrapper to keep init stuff consistent).Signed-off-by: Vitaly Bordug
-
The stuff below cleans up the code attempting to remap the whole cpm2_immr
early, as well as places happily assuming that fact. This is more like the 2.4
legacy stuff, and is at least confusing and unclear now.To keep the world comfortable, a new mechanism is introduced: before accessing
specific immr register/register set, one needs to map it, using cpm2_map(),
for instance, access to CPM command register will look like
volatile cpm_cpm2_t *cp = cpm2_map(im_cpm);
keeping the code clear, yet without "already defined somewhere" cpm2_immr.So far, unmapping code is not implemented, but it's not a big deal to add it,
if the whole idea makes sense.Signed-off-by: Vitaly Bordug
21 Sep, 2006
1 commit
-
This patch contains necessary modifications to support the CPM2 SoC peripherals.
For the time being, those are fs_enet Ethernet driver and cpm_uart serial.
Written initially to support mpc8560, it also suites to the part of the large PQ2
(more specifically, mpc8260) family.Signed-off-by: Vitaly Bordug
25 Aug, 2006
1 commit
23 Aug, 2006
1 commit
-
IRQ setup now comes from the Flat Device Tree and use the new generic
IRQ code. Fixed the fsl_soc.c IRQ OF interrupt node parsing.
Removed some unused MPC86xx macro definition.Signed-off-by: Zhang Wei
Signed-off-by: Jon Loeliger
Signed-off-by: Paul Mackerras
(cherry picked from 919fede6edab94cccb3ca8c1c0b32fa62c9369a5 commit)
18 Aug, 2006
1 commit
-
Also accept "local-mac-address". However the old "address"
is now obsolete, but accepted for backwards compatibility.
It should be removed after all device trees have been
converted to use "mac-address".Signed-off-by: Jon Loeliger
Signed-off-by: Paul Mackerras
08 Aug, 2006
1 commit
-
IRQ setup now comes from the Flat Device Tree and use the new generic
IRQ code. Fixed the fsl_soc.c IRQ OF interrupt node parsing.
Removed some unused MPC86xx macro definition.Signed-off-by: Zhang Wei
Signed-off-by: Jon Loeliger
Signed-off-by: Paul Mackerras
31 Jul, 2006
1 commit
-
Now that get_property() returns a void *, there's no need to cast its
return value. Also, treat the return value as const, so we can
constify get_property later.powerpc core changes.
Signed-off-by: Jeremy Kerr
Signed-off-by: Paul Mackerras
01 Jul, 2006
1 commit
-
Signed-off-by: Jörn Engel
Signed-off-by: Adrian Bunk
22 Jun, 2006
1 commit
-
In some systems we may have both a platform EHCI controller and PCI EHCI
controller. Previously we couldn't build the EHCI support as a module due
to conflicting module_init() calls in the code.Signed-off-by: Kumar Gala
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman
07 Feb, 2006
2 commits
-
Setup the platform devices needed by the Freescale EHCI USB
host controllers based on a flat device treeSigned-off-by: Kumar Gala
Signed-off-by: Paul Mackerras -
Cleaned up fsl_soc.c based on comments from Olof Johansson. Ran through
Lindent, and split gfar_mdio init into its own function.Signed-off-by: Kumar Gala
Signed-off-by: Paul Mackerras
14 Jan, 2006
1 commit
-
Parse the flat device tree for devices on Freescale SOC's that we know
about (gianfar, gianfar_mdio, i2c, mpc83xx_wdt). We need to setup
platform devices and platform data for these devices to match arch/ppc
usage.Also add a helper function (get_immrbase) that reports the base
address of the MMIO registers on the SOC.Signed-off-by: Kumar Gala
Signed-off-by: Paul Mackerras