From: Giulio Benetti Date: Sun, 15 Dec 2019 16:09:39 +0100 Subject: [PATCH] clk: uclass: clk_get_by_name() must not be available if CONFIG_OF_PLATDATA is enabled In-Reply-To: <20191215145036.0a223a46@jawa> References: <20191212225319.130773-1-giulio.benetti@benettiengineering.com> <20191213110909.7ec79677@jawa> <20191215145036.0a223a46@jawa> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Lukasz, On 12/15/19 2:50 PM, Lukasz Majewski wrote: > Hi Giulio, > >> On 12/13/19 11:09 AM, Lukasz Majewski wrote: >>> On Fri, 13 Dec 2019 00:02:25 +0100 >>> Giulio Benetti wrote: >>> >>>> Hi Lukasz, >>>> >>>> On 12/12/19 11:53 PM, Giulio Benetti wrote: >>>>> clk_get_by_name() requires clk_get_by_id() that is not available >>>>> if CONFIG_OF_PLATDATA is defined, so move clk_get_by_name() into >>>>> #else condition of #if CONFIG_IS_ENABLED(OF_PLATDATA). >>>>> >>>>> Signed-off-by: Giulio Benetti >>>>> >>>> >>>> I've already successfully executed a complete Travis with master >>>> and this patch applied: >>>> https://travis-ci.org/giuliobenetti/u-boot-imxrt/builds/624256888 >>> >>> Is this a preparatory patch for some other work? Or is it just a >>> standalone fix? >> >> This is a standalone fix. > > As we are really close to final U-Boot release - I'm more keen to add > this patch to u-boot-clk -next repository. > > Do you mind ? No problem at all, we'll see it "next"! Best regards -- Giulio Benetti Benetti Engineering sas >> >> Best regards > > > > > Best regards, > > Lukasz Majewski > > -- > > DENX Software Engineering GmbH, Managing Director: Wolfgang Denk > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de >