From: Reinhard Meyer Date: Fri, 12 Aug 2011 14:32:18 +0200 Subject: [U-Boot] d-cache enable In-Reply-To: <4E451ABE.40704@aribaud.net> References: <1312197486-31712-2-git-send-email-aneesh@ti.com> <1312889691-22701-2-git-send-email-aneesh@ti.com> <20110809164107.0dd85472@lmajewski.digital.local> <4E45078D.4060300@ti.com> <20110812134151.46d0e47c@lmajewski.digital.local> <4E451ABE.40704@aribaud.net> Message-ID: <4E451D52.3030602@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear *ALL*, >> It is embarrassing to admit, but I've __wrongly__ assumed that *_range() >> functions are accepting the start address and range for >> invalidation/flushing. > > Do you mean we're hitting again a confusion between *_range(start, stop) > and *_range(start, length)? > > If so, then the need to get rid of 'anonymous prototypes' becomes > greater yet. Maybe the parameters should even be of type (void *start, void *beyond_end) ? We are talking of addresses here anyway. Most likely the calling place has it as pointer, and inside the function it might have to be casted. Reinhard