Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp680175pxb; Tue, 5 Apr 2022 18:30:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8mCslDOLtO0MMNk5xIy1AFulHxjzluXFZcegVz8wZ7dA3W1aSTcVvk+hdTGUdUy5HYt+3 X-Received: by 2002:a50:d711:0:b0:410:a51a:77c5 with SMTP id t17-20020a50d711000000b00410a51a77c5mr6318067edi.154.1649208618429; Tue, 05 Apr 2022 18:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649208618; cv=none; d=google.com; s=arc-20160816; b=xeR6mlt67S1BmFBz229uFkj1K8MwJPi3C0Fi6T2W7yc/CwJjravuXry5N61w81u/OW a4mR5sAuFNQ7kB1t+vCAxFudcpA2KxmPqlVP6Bcobt2Cbq5K+O403ScgEu+mrAEzWsmQ 1DuzrJio8KYorr3YAMRd1AotK5w94ycFrlgEHt28w9aOazE2lMYvWw6fL3G14pYru/Jp m5yqjk+ypQcTVjlUFqRP8kWwhBHxaOZZdIJk//8fLlXhBmSmDG525piP9t/VxxCqgW4W SpT8vUBTls39efZv9iOOl7VWuJXjOQdflIp6O+APodFY7TDpPx423RY49J8tgajolJVV vHqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=uDnm5rnyWUefMw68hQpBzjs6vu2JYrqMb+Y12nM6C+I=; b=yKXqalstVw6NxDB/2O/SYNwSV6uRds1uOHaL3zcZsXlTds1XVZNfpo2Rv8bAXwUDj5 ULJ8JaMENqFgq1Ihg0K+ctvzlKdjWa/LA6fxb8QGlCOiMQArP6GmISLB13iTaDaqU4bg FEOe8Rel2yRaxFge2kC4Zl0bAJL6PUvlzU7MqcG2nNChSTfUfr3aqf1wu7zNYE91hoYS GyZPtxuilqOGrcxZR0G2MmAu9Zkc0RDE7YB0KKqTP9TYrfoogapWHYZC1Nr+uG0BBPK4 uYxZjjrbKBHILmwtd6fEsqEoncSQV+jCZbioyJlj00EJFE7Z+byW6oj9xz/MOQvjKPUU nG2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pOuyyO9g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020a50a6ce000000b00418c2b5bf41si9642195edc.547.2022.04.05.18.29.53; Tue, 05 Apr 2022 18:30:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pOuyyO9g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235830AbiDEIA1 (ORCPT + 99 others); Tue, 5 Apr 2022 04:00:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231997AbiDEHsv (ORCPT ); Tue, 5 Apr 2022 03:48:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CD7B631F; Tue, 5 Apr 2022 00:46:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 161B3615E7; Tue, 5 Apr 2022 07:46:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A0B3C34112; Tue, 5 Apr 2022 07:46:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649144802; bh=1NernAKoOBfJpA9BgdskRZGyX2V/8ZAUyEvP77Lq5xE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pOuyyO9gHivJpXpeIkelemLariomzfuuf/9iEZcdAbZOsJ+a/AwrTEH0T0GDvfD3P 6SfESF5sS4Sa5k4iOCIloJjT3dIYhPm2rfLd2OCVHsPLbfI3UERcckYCFR6syLXqTa rJ9bJvR8cKglBwoGlzmbSyu6sWhWj2EHYJWBbILE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paul Cercueil , Thomas Bogendoerfer Subject: [PATCH 5.17 0175/1126] mips: Always permit to build u-boot images Date: Tue, 5 Apr 2022 09:15:22 +0200 Message-Id: <20220405070412.739084859@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070407.513532867@linuxfoundation.org> References: <20220405070407.513532867@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Cercueil commit 34275ac292ae141ebc1296b72f005f71b25998a7 upstream. The platforms where the kernel should be loaded above 0x8000.0000 do not support loading u-boot images, that doesn't mean that we shouldn't be able to generate them. Additionally, since commit 79876cc1d7b8 ("MIPS: new Kconfig option ZBOOT_LOAD_ADDRESS"), the $(zload-y) variable was no longer hardcoded, which made it impossible to use the uzImage.bin target. Fixes: 79876cc1d7b8 ("MIPS: new Kconfig option ZBOOT_LOAD_ADDRESS") Cc: Signed-off-by: Paul Cercueil Signed-off-by: Thomas Bogendoerfer Signed-off-by: Greg Kroah-Hartman --- arch/mips/Makefile | 4 ---- 1 file changed, 4 deletions(-) --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -340,14 +340,12 @@ drivers-$(CONFIG_PM) += arch/mips/power/ boot-y := vmlinux.bin boot-y += vmlinux.ecoff boot-y += vmlinux.srec -ifeq ($(shell expr $(load-y) \< 0xffffffff80000000 2> /dev/null), 0) boot-y += uImage boot-y += uImage.bin boot-y += uImage.bz2 boot-y += uImage.gz boot-y += uImage.lzma boot-y += uImage.lzo -endif boot-y += vmlinux.itb boot-y += vmlinux.gz.itb boot-y += vmlinux.bz2.itb @@ -359,9 +357,7 @@ bootz-y := vmlinuz bootz-y += vmlinuz.bin bootz-y += vmlinuz.ecoff bootz-y += vmlinuz.srec -ifeq ($(shell expr $(zload-y) \< 0xffffffff80000000 2> /dev/null), 0) bootz-y += uzImage.bin -endif bootz-y += vmlinuz.itb #