PERFORCE change 198852 for review
Jakub Wojciech Klama
jceel at FreeBSD.org
Mon Sep 12 12:32:07 UTC 2011
http://p4web.freebsd.org/@@198852?ac=10
Change 198852 by jceel at jceel_cyclone on 2011/09/12 12:31:16
Remove unneeded diagnostic messages from lpc_machdep.c
Affected files ...
.. //depot/projects/soc2011/jceel_lpc/sys/arm/lpc/lpc_machdep.c#4 edit
Differences ...
==== //depot/projects/soc2011/jceel_lpc/sys/arm/lpc/lpc_machdep.c#4 (text+ko) ====
@@ -340,8 +340,6 @@
*/
mdp = (void *)((uint32_t)mdp & ~PAGE_MASK);
- lpc_early_puts("parse metadata...\r\n");
-
/* Parse metadata and fetch parameters */
if (mdp != NULL) {
preload_metadata = mdp;
@@ -371,16 +369,11 @@
if (dtbp == (vm_offset_t)NULL)
dtbp = (vm_offset_t)&fdt_static_dtb;
- lpc_early_puts("using static dtb\r\n");
#endif
- lpc_early_puts("found dtb\r\n");
-
if (OF_install(OFW_FDT, 0) == FALSE)
while (1);
- lpc_early_puts("OF_install() success\r\n");
-
char buf[128];
sprintf(buf, "dtbp: 0x%08x\r\n", dtbp);
lpc_early_puts(buf);
@@ -388,28 +381,20 @@
if (OF_init((void *)dtbp) != 0)
while (1);
- lpc_early_puts("OF_init() success\r\n");
-
/* Grab physical memory regions information from device tree. */
if (fdt_get_mem_regions(availmem_regions, &availmem_regions_sz,
&memsize) != 0)
while(1);
- lpc_early_puts("fdt_get_mem_regions() success\r\n");
-
if (fdt_immr_addr(LPC_DEV_BASE) != 0)
while (1);
- lpc_early_puts("fdt_immr_addr() success\r\n");
-
/* Platform-specific initialisation */
pmap_bootstrap_lastaddr = fdt_immr_va - ARM_NOCACHE_KVA_SIZE;
pcpu_init(pcpup, 0, sizeof(struct pcpu));
PCPU_SET(curthread, &thread0);
- lpc_early_puts("pcpu_init() success\r\n");
-
/* Calculate number of L2 tables needed for mapping vm_page_array */
l2size = (memsize / PAGE_SIZE) * sizeof(struct vm_page);
l2size = (l2size >> L1_S_SHIFT) + 1;
@@ -534,8 +519,6 @@
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL * 2));
- lpc_early_puts("pmap launched\r\n");
-
/*
* Only after the SOC registers block is mapped we can perform device
* tree fixups, as they may attempt to read parameters from hardware.
@@ -550,12 +533,8 @@
while (1);
#endif
- lpc_early_puts("entering cninit()\r\n");
-
cninit();
- lpc_early_puts("cninit() success\r\n");
-
physmem = memsize / PAGE_SIZE;
debugf("initarm: console initialized\n");
More information about the p4-projects
mailing list