OpenCores
no use no use 1/1 no use no use
[or1ksim #17] Initialise chip_select in abstract.c
by Unknown on Feb 4, 2005
Not available!
Hi,

This patch initialises dev_mem->chip_select in register_memory. The current
scheme breaks down when the memories are not the first to get initialised with
register_memory before mc_reset is called.

ChangeLog:
* initialise dev_mem->chip_select in register_memory.

nog.
-------------- next part --------------
--- cpu/common/abstract.c 2005-02-03 19:57:57.000000000 +0100
+++ ../or1ksim-ac/cpu/common/abstract.c 2005-02-04 10:48:58.000000000 +0100
@@ -133,6 +133,7 @@
(*pptmp)->delayr = 2;
(*pptmp)->delayw = 2;
(*pptmp)->priv_dat = dat;
+ (*pptmp)->chip_select = -1;
(*pptmp)->next = NULL;
}

no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.