board-specific platform setup for mpc8272
RFC PATCH 1/1 board-specific platform setup for mpc8272
This is platform setup for MPC8272ADS to use it with fs_enet driver. Assumes that [PATCH] ppc32: Add ppc_sys descriptions for PowerQUICC II devices is applied. This is not in the final state (since fs_enet will be modified a bit),but it could be useful if someone does want to test fs_enet on the likewise board.
Signed-off-by Vitaly Bordug <[email protected]>
Signature · 2 lines
Sincerely, Vitaly
arch/ppc/platforms/Makefile +2 -0
@@ -19,6 +19,8 @@ ifeq ($(CONFIG_PPC_PMAC),y) obj-$(CONFIG_NVRAM) += pmac_nvram.o obj-$(CONFIG_CPU_FREQ_PMAC) += pmac_cpufreq.o endif + +obj-$(CONFIG_ADS8272) += mpc8272ads_setup.o obj-$(CONFIG_PMAC_BACKLIGHT) += pmac_backlight.o obj-$(CONFIG_PREP_RESIDUAL) += residual.o obj-$(CONFIG_ADIR) += adir_setup.o adir_pic.o adir_pci.o
arch/ppc/platforms/mpc8272ads_setup.c new file +237 -0
237 lines not on this page · raw message
arch/ppc/platforms/pq2ads.h +4 -0
@@ -13,6 +13,10 @@#include <asm/ppcboot.h> +#if defined(CONFIG_ADS8272 ) +#define BOARD_NAME "8272" +#endif +/* Memory map is configured by the PROM startup. * We just map a few things we need. The CSR is actually 4 byte-wide * registers that can be accessed as 8-, 16-, or 32-bit values.
arch/ppc/platforms/pq2ads_pd.h new file +135 -0
135 lines not on this page · raw message