socsvn commit: r239553 - in soc2012/aleek/beaglexm-armv6: . sys/arm/ti

aleek at FreeBSD.org aleek at FreeBSD.org
Wed Jul 18 16:22:25 UTC 2012


Author: aleek
Date: Wed Jul 18 16:22:22 2012
New Revision: 239553
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=239553

Log:
  cleanup

Modified:
  soc2012/aleek/beaglexm-armv6/   (props changed)
  soc2012/aleek/beaglexm-armv6/sys/arm/ti/ti_machdep.c

Modified: soc2012/aleek/beaglexm-armv6/sys/arm/ti/ti_machdep.c
==============================================================================
--- soc2012/aleek/beaglexm-armv6/sys/arm/ti/ti_machdep.c	Wed Jul 18 16:12:27 2012	(r239552)
+++ soc2012/aleek/beaglexm-armv6/sys/arm/ti/ti_machdep.c	Wed Jul 18 16:22:22 2012	(r239553)
@@ -342,10 +342,7 @@
 	dtbp = (vm_offset_t)NULL;
 
 
-	arm_early_puts( "set_cpufuncs()..." );
 	set_cpufuncs();
-	arm_early_puts( "done!\n" );
-
 	bootverbose = 1;
 
 	/*
@@ -354,7 +351,6 @@
 	 * bootloader must have passed us something else than the metadata
 	 * ptr... In this case we want to fall back to some built-in settings.
 	 */
-	arm_early_puts( "FDT related stuff..." );
 	mdp = (void *)((uint32_t)mdp & ~PAGE_MASK);
 
 	/* Parse metadata and fetch parameters */
@@ -404,13 +400,10 @@
 //	if (fdt_immr_addr(OMAP44XX_L4_PERIPH_VBASE) != 0)
 //		while (1);
 
-	arm_early_puts( "done!\n" );
 	/* Platform-specific initialisation */
 	pmap_bootstrap_lastaddr = DEVMAP_BOOTSTRAP_MAP_START - ARM_NOCACHE_KVA_SIZE;
 
-	arm_early_puts( "pcpu0_init()..." );
 	pcpu0_init();
-	arm_early_puts( "done!\n" );
 
 	/* Calculate number of L2 tables needed for mapping vm_page_array */
 	l2size = (memsize / PAGE_SIZE) * sizeof(struct vm_page);
@@ -428,7 +421,6 @@
 #define KERNEL_TEXT_BASE (KERNBASE)
 	freemempos = (lastaddr + PAGE_MASK) & ~PAGE_MASK;
 
-	arm_early_puts( "allocing pages..." );
 	/* Define a macro to simplify memory allocation */
 #define valloc_pages(var, np)                   \
 	alloc_pages((var).pv_va, (np));         \
@@ -477,8 +469,6 @@
 	init_param1();
 
 	valloc_pages(msgbufpv, round_page(msgbufsize) / PAGE_SIZE);
-	arm_early_puts( "done!\n" );
-	arm_early_puts( "pmapping pages..." );
 
 	/*
 	 * Now we start construction of the L1 page table
@@ -531,29 +521,18 @@
 	/* Map pmap_devmap[] entries */
 	if (platform_devmap_init() != 0)
 		while (1);
-	arm_early_puts( "done!\n" );
-	arm_early_puts( "pmap_devmap_bootstrap()..." );
 	pmap_devmap_bootstrap(l1pagetable, pmap_devmap_bootstrap_table);
-	arm_early_puts( "done!\n" );
 
-	arm_early_puts( "cpu_domains()..." );
 	cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL * 2)) |
 	    DOMAIN_CLIENT);
-	arm_early_puts( "done!\n" );
 	pmap_pa = kernel_l1pt.pv_pa;
 
 	//arm_early_puts( "Dumping memory layout!\n" );
 	//dump_l1pagetable( kernel_l1pt.pv_pa );
 
-	arm_early_puts( "setttb()..." );
 	setttb(kernel_l1pt.pv_pa);
-	arm_early_puts( "done!\n" );
-	arm_early_puts( "cpu_tlb_flushID()..." );
 	cpu_tlb_flushID();
-	arm_early_puts( "done!\n" );
-	arm_early_puts( "cpu_domains2()..." );
 	cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL * 2));
-	arm_early_puts( "done!\n" );
 
 	/*
 	 * Only after the SOC registers block is mapped we can perform device
@@ -561,9 +540,7 @@
 	 */
 	OF_interpret("perform-fixup", 0);
 
-	arm_early_puts( "cninit()..." );
 	cninit();
-	arm_early_puts( "done!\n" );
 
 	physmem = memsize / PAGE_SIZE;
 
@@ -633,7 +610,6 @@
 	/* Do basic tuning, hz etc */
 	init_param2(physmem);
 
-	debugf("initarm: kdb_init()\n");
 	kdb_init();
 
 	return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP -


More information about the svn-soc-all mailing list