Skip to contentSkip to conversation

MPC85xx CDS - Time Of Day, Cache settings, CPM IRQs

PATCH In review Jason McMullan 2 participants 2 messages Mar 22, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MPC85xx CDS - Time Of Day, Cache settings, CPM IRQs

Some minor fixes for:

MPC85xx CDS Time of Day Clock

/proc/cpuinfo shows cache settings

CPM IRQs are allocated more sanely.

Signature · 2 lines
Jason McMullan <[email protected]>
TimeSys Corporation

#### Auto-generated patch ####

Date:        Tue, 22 Mar 2005 15:44:01 -0500
Maintainer:  Jason McMullan <[email protected]>
Summary:     Freescale MPC85xx CDS series eval boards

###############################

arch/ppc/platforms/85xx/Kconfig +3 -2
@@ -22,9 +22,10 @@
 	  This option enables support for the MPC 8540 ADS evaluation board.
 
 config MPC8555_CDS
-	bool "Freescale MPC8555 CDS"
+	bool "Freescale MPC8555/MPC8541 CDS"
 	help
-	  This option enablese support for the MPC8555 CDS evaluation board.
+	  This option enables support for the MPC8555/MPC8541 CDS 
+          evaluation boards.
 
 config MPC8560_ADS
 	bool "Freescale MPC8560 ADS"
arch/ppc/platforms/85xx/mpc85xx_cds_common.c +35 -27

127 lines not on this page · raw message

arch/ppc/platforms/85xx/mpc85xx_cds_common.h +4 -0
@@ -33,6 +33,10 @@
 #define CM_CSR	(1)
 #define CM_RST	(2)
 
+/* CDS NVRAM/RTC */
+#define CDS_RTC_ADDR	(0xf8000000)
+#define CDS_RTC_SIZE	(8 * 1024)
+
 /* PCI config */
 #define PCI1_CFG_ADDR_OFFSET	(0x8000)
 #define PCI1_CFG_DATA_OFFSET	(0x8004)
arch/ppc/syslib/Makefile +1 -0
@@ -98,5 +98,6 @@
 					ppc_sys.o
 ifeq ($(CONFIG_85xx),y)
 obj-$(CONFIG_PCI)		+= indirect_pci.o pci_auto.o
+obj-$(CONFIG_MPC8555_CDS)	+= todc_time.o
 endif
 obj-$(CONFIG_PPC_MPC52xx)	+= mpc52xx_setup.o mpc52xx_pic.o
include/asm-ppc/immap_85xx.h +44 -0

49 lines not on this page · raw message

#1 lore raw

Some feedback on the patches:

* I'm not going to accept the printing of caches enabled, etc. If you want to do this add sysfs attributes to the CPU. That is more useful going forward and we dont have to do it for every board then. (Plus we can add other attributes)

* TODC should already exist in 2.6.12-rc1

* I'll take a look at the CPM changes

- kumar

Quoted 18 lines · Jason McMullan

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Date: March 22, 2005 2:49:12 PM CST
Subject:

Date: March 22, 2005 2:49:12 PM CST
Subject:

<ATT118674.txt><board-ppc-mpc85xx-cds.patch>

<signature.asc>