G/C unused flag
This commit is contained in:
parent
e769a8dc4e
commit
721b27251d
|
@ -1,4 +1,4 @@
|
|||
/* $Id: imx23_olinuxino_machdep.c,v 1.11 2020/11/28 14:02:30 skrll Exp $ */
|
||||
/* $Id: imx23_olinuxino_machdep.c,v 1.12 2021/08/10 06:47:48 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012 The NetBSD Foundation, Inc.
|
||||
|
@ -178,7 +178,7 @@ initarm(void *arg)
|
|||
bootconfig.dramblocks = 1;
|
||||
bootconfig.dram[0].address = DRAM_BASE;
|
||||
bootconfig.dram[0].pages = ram_size / PAGE_SIZE;
|
||||
bootconfig.dram[0].flags = BOOT_DRAM_CAN_DMA | BOOT_DRAM_PREFER;
|
||||
bootconfig.dram[0].flags = BOOT_DRAM_CAN_DMA;
|
||||
|
||||
arm32_bootmem_init(bootconfig.dram[0].address, ram_size,
|
||||
((vsize_t)&KERNEL_BASE_phys));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bootconfig.h,v 1.10 2018/06/18 13:05:20 jmcneill Exp $ */
|
||||
/* $NetBSD: bootconfig.h,v 1.11 2021/08/10 06:47:48 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Mark Brinicombe.
|
||||
|
@ -51,7 +51,6 @@ typedef struct _PhysMem {
|
|||
u_int pages;
|
||||
u_int flags;
|
||||
#define BOOT_DRAM_CAN_DMA 1 /* Can DMA direct to this memory. */
|
||||
#define BOOT_DRAM_PREFER 2 /* UVM should prefer this memory. */
|
||||
} PhysMem;
|
||||
|
||||
#ifndef DRAM_BLOCKS
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: integrator_machdep.c,v 1.79 2020/04/18 11:00:39 skrll Exp $ */
|
||||
/* $NetBSD: integrator_machdep.c,v 1.80 2021/08/10 06:47:49 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001,2002 ARM Ltd
|
||||
|
@ -68,7 +68,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.79 2020/04/18 11:00:39 skrll Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.80 2021/08/10 06:47:49 skrll Exp $");
|
||||
|
||||
#include "opt_arm_debug.h"
|
||||
#include "opt_console.h"
|
||||
|
@ -371,7 +371,7 @@ initarm(void *arg)
|
|||
bootconfig.dramblocks = 1;
|
||||
bootconfig.dram[0].address = memstart;
|
||||
bootconfig.dram[0].pages = memsize / PAGE_SIZE;
|
||||
bootconfig.dram[0].flags = BOOT_DRAM_CAN_DMA | BOOT_DRAM_PREFER;
|
||||
bootconfig.dram[0].flags = BOOT_DRAM_CAN_DMA;
|
||||
|
||||
arm32_bootmem_init(bootconfig.dram[0].address,
|
||||
bootconfig.dram[0].pages * PAGE_SIZE, (unsigned int) KERNEL_BASE_phys);
|
||||
|
|
Loading…
Reference in New Issue