From: Carlo Caione Date: Mon, 11 Jun 2018 18:08:03 +0100 Subject: [U-Boot] [PATCH v2 2/3] rk3288: Disable JTAG function from sdmmc0 IO In-Reply-To: References: <20180611080812.16786-1-carlo@caione.org> <20180611080812.16786-3-carlo@caione.org> Message-ID: <2c29d2f763226cd65992583e16c2eb99d188c1b9.camel@endlessm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Mon, 2018-06-11 at 10:41 +0200, Dr. Philipp Tomsich wrote: > > On 11 Jun 2018, at 10:08, Carlo Caione wrote: /cut > > +#define GRF_SOC_CON0 0xff770244 > > #define GRF_SOC_CON2 0xff77024c > > Could you convert these to ‘const uintptr_t GRF_SOC_CON0 = …’ ? > The compiler will generate the same code for a const as if it’s a > define, but we’ll > have full type-safety. Yeah, no problem. But if this is ok with you in v3 I'm going to leave this patch as is and adding one more patch to convert both the lines at the same time. Thanks.