From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yu-Chien Peter Lin Date: Mon, 28 Nov 2022 16:37:41 +0000 Subject: [PATCH] platform: andes/ae350: Avoid repeated inclusion of header files In-Reply-To: References: <20221116072716.1763-1-zhangleizheng@eswincomputing.com> Message-ID: List-Id: To: opensbi@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, Nov 28, 2022 at 08:20:24AM +0000, Yu-Chien Peter Lin wrote: > On Wed, Nov 16, 2022 at 03:27:16PM +0800, zhangleizheng at eswincomputing.com wrote: > > From: zhangleizheng > > > > Avoid cache.h reuse when compiling. > > > > Signed-off-by: zhangleizheng > > Looks good to me, > Thanks. > > Reviewed-by: Yu Chien Peter Lin Hi all, I just removed andes/ae350 folder so let's skip this patch. Thanks for your fix. Best regards, Peter Lin > > > --- > > platform/andes/ae350/cache.h | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/platform/andes/ae350/cache.h b/platform/andes/ae350/cache.h > > index e1c1826..8e00a1d 100644 > > --- a/platform/andes/ae350/cache.h > > +++ b/platform/andes/ae350/cache.h > > @@ -7,6 +7,9 @@ > > * Nylon Chen > > */ > > > > +#ifndef _AE350_CACHE_H_ > > +#define _AE350_CACHE_H_ > > + > > uintptr_t mcall_set_mcache_ctl(unsigned long input); > > uintptr_t mcall_set_mmisc_ctl(unsigned long input); > > uintptr_t mcall_icache_op(unsigned int enable); > > @@ -15,3 +18,5 @@ uintptr_t mcall_l1_cache_i_prefetch_op(unsigned long enable); > > uintptr_t mcall_l1_cache_d_prefetch_op(unsigned long enable); > > uintptr_t mcall_non_blocking_load_store(unsigned long enable); > > uintptr_t mcall_write_around(unsigned long enable); > > + > > +#endif /* _AE350_CACHE_H_ */ > > -- > > 2.17.1 > >