powerpc/mpc5121: Add generic board support for MPC5121 platforms
authorJohn Rigby <jrigby@freescale.com>
Wed, 9 Jul 2008 20:54:03 +0000 (14:54 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 12 Jul 2008 18:10:54 +0000 (12:10 -0600)
commitfb1803224ea145e3424d6295d4aaa8e9fef70642
treeedb4d3f412df0c5c6959f056f5f521b88101650e
parent137e95906e294913fab02162e8a1948ade49acb5
powerpc/mpc5121: Add generic board support for MPC5121 platforms

Move shared code from mpc5121_ads.c to new file mpc512x_shared.c
- mpc512x_find_ips_freq -> unchanged
- contents of mpc5121_ads_init_IRQ -> mpc512x_init_IRQ
  - looking for fsl,mpc5121-ipic instead of fsl,ipic
- mpc5121_ads_declare_of_platform_devices -> mpc5121_declare_of_platform_devices
  - and use compatible for lookup instead of node name

Add new generic board setup mpc5121_generic.c

Signed-off-by: John Rigby <jrigby@freescale.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/platforms/512x/Kconfig
arch/powerpc/platforms/512x/Makefile
arch/powerpc/platforms/512x/mpc5121_ads.c
arch/powerpc/platforms/512x/mpc5121_generic.c [new file with mode: 0644]
arch/powerpc/platforms/512x/mpc512x.h [new file with mode: 0644]
arch/powerpc/platforms/512x/mpc512x_shared.c [new file with mode: 0644]