From owner-p4-projects@FreeBSD.ORG Mon Sep 12 12:32:06 2011 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C4203106566C; Mon, 12 Sep 2011 12:32:06 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 858ED106564A for ; Mon, 12 Sep 2011 12:32:06 +0000 (UTC) (envelope-from jceel@freebsd.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:4f8:fff6::2d]) by mx1.freebsd.org (Postfix) with ESMTP id 2118A8FC0C for ; Mon, 12 Sep 2011 12:32:06 +0000 (UTC) Received: from skunkworks.freebsd.org (localhost [127.0.0.1]) by skunkworks.freebsd.org (8.14.4/8.14.4) with ESMTP id p8CCW6sO039572 for ; Mon, 12 Sep 2011 12:32:06 GMT (envelope-from jceel@freebsd.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.4/8.14.4/Submit) id p8CCW6Ku039569 for perforce@freebsd.org; Mon, 12 Sep 2011 12:32:06 GMT (envelope-from jceel@freebsd.org) Date: Mon, 12 Sep 2011 12:32:06 GMT Message-Id: <201109121232.p8CCW6Ku039569@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to jceel@freebsd.org using -f From: Jakub Wojciech Klama To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 198852 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2011 12:32:07 -0000 http://p4web.freebsd.org/@@198852?ac=10 Change 198852 by jceel@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");