From patchwork Fri Sep 28 14:22:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 976339 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ossystems.com.br Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42MDSw3D6kz9s5c for ; Sat, 29 Sep 2018 00:24:16 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 2FCBDC21DF8; Fri, 28 Sep 2018 14:23:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 100C3C21F31; Fri, 28 Sep 2018 14:23:33 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 59175C21E07; Fri, 28 Sep 2018 14:23:08 +0000 (UTC) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by lists.denx.de (Postfix) with ESMTPS id B5509C21E60 for ; Fri, 28 Sep 2018 14:23:04 +0000 (UTC) Received: by mail-qk1-f174.google.com with SMTP id q20-v6so3907560qkc.12 for ; Fri, 28 Sep 2018 07:23:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=QPiyGkte3xxZ0dn/ibMK6x/VETq0JbZjuKEN9fDAyIU=; b=Z18som6CDyeumvpFH1UJfpm0m9H4pPKlpaa9zNVJlgugE9+LpLcw4nyrypq82TjBzU 6R9l1frBvWpK2YpPdTzH6WH2+zfcjnx6Pzv9ZYdtbb0U/CtDwQpDSyfpGNakNlzk37na Sg7hxocbQh6yGEUp2xlWXdRlZsuIZywdhOI08M7pczTFWUYSI/NDO8f1TssZBJbGdcVo 81lsOMDmKvshCMf1fakXi379dPglKJFQzqdupbpMQng26QgIWVF53oFwwOMVrdMGj5LU 9WaImuKGOtFXY3zH8gwFc7VhhUEln4hB4X6LI1Mz4fKTj0ZRvB/nVRWY44H0/EeTdk8g XJ/w== X-Gm-Message-State: ABuFfojViT1S99Glgw1DGxsqpDHMoo+nhxWApirP8oEEcBQIorRq1jr3 aL2Sd4UqudchMo4JbCdhDyyKy8Mr X-Google-Smtp-Source: ACcGV63lh9SudnuVeqmHiQE2405DehrYpFGAcNE6dVrQOE+c1AmJ/KfLDxl8/VWeJpsQf1I4KdA4+A== X-Received: by 2002:ae9:edc5:: with SMTP id c188-v6mr12052922qkg.208.1538144583496; Fri, 28 Sep 2018 07:23:03 -0700 (PDT) Received: from localhost.localdomain ([181.220.65.41]) by smtp.gmail.com with ESMTPSA id 144-v6sm399432qkk.63.2018.09.28.07.23.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Sep 2018 07:23:02 -0700 (PDT) Received: by localhost.localdomain (sSMTP sendmail emulation); Fri, 28 Sep 2018 11:22:57 -0300 From: Otavio Salvador To: U-Boot Mailing List Date: Fri, 28 Sep 2018 11:22:38 -0300 Message-Id: <20180928142239.4660-3-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180928142239.4660-1-otavio@ossystems.com.br> References: <20180928142239.4660-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. Cc: Vanessa Maegima , Otavio Salvador Subject: [U-Boot] [PATCH v3 3/4] pico-imx7d: Make SPL binary fit into 64kB X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Fabio Estevam Currently SPL binary is larger than 64kB, which is larger than CONFIG_SPL_MAX_SIZE defined in imx7_spl.h. This causes boot failure on the pico-mx7 targets. Remove CONFIG_SPL_LIBDISK_SUPPORT option for now, so that the SPL binary can fit into the 64kB range. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Changes in v3: - new patch Changes in v2: None configs/pico-hobbit-imx7d_defconfig | 1 - configs/pico-imx7d_defconfig | 1 - configs/pico-pi-imx7d_defconfig | 1 - 3 files changed, 3 deletions(-) diff --git a/configs/pico-hobbit-imx7d_defconfig b/configs/pico-hobbit-imx7d_defconfig index 568fb11d59..b02cae5237 100644 --- a/configs/pico-hobbit-imx7d_defconfig +++ b/configs/pico-hobbit-imx7d_defconfig @@ -8,7 +8,6 @@ CONFIG_TARGET_PICO_IMX7D=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL=y -CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_ARMV7_BOOT_SEC_DEFAULT=y CONFIG_IMX_RDC=y CONFIG_IMX_BOOTAUX=y diff --git a/configs/pico-imx7d_defconfig b/configs/pico-imx7d_defconfig index d6cfc2065e..f355f07be7 100644 --- a/configs/pico-imx7d_defconfig +++ b/configs/pico-imx7d_defconfig @@ -8,7 +8,6 @@ CONFIG_TARGET_PICO_IMX7D=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL=y -CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_ARMV7_BOOT_SEC_DEFAULT=y CONFIG_IMX_RDC=y CONFIG_IMX_BOOTAUX=y diff --git a/configs/pico-pi-imx7d_defconfig b/configs/pico-pi-imx7d_defconfig index 73800fc8eb..3a182dcb81 100644 --- a/configs/pico-pi-imx7d_defconfig +++ b/configs/pico-pi-imx7d_defconfig @@ -8,7 +8,6 @@ CONFIG_TARGET_PICO_IMX7D=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL=y -CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_ARMV7_BOOT_SEC_DEFAULT=y CONFIG_IMX_RDC=y CONFIG_IMX_BOOTAUX=y