From patchwork Wed Nov 12 01:59:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Tobias X-Patchwork-Id: 409807 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 7FD5414012F for ; Wed, 12 Nov 2014 13:00:29 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3F1C54BAD3; Wed, 12 Nov 2014 03:00:22 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eKA5LXo-DrDl; Wed, 12 Nov 2014 03:00:21 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7AB394BAC1; Wed, 12 Nov 2014 03:00:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CA3A84BA9A for ; Wed, 12 Nov 2014 03:00:09 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qoTeaEEhr3aY for ; Wed, 12 Nov 2014 03:00:09 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by theia.denx.de (Postfix) with ESMTPS id 047F54BA5F for ; Wed, 12 Nov 2014 03:00:05 +0100 (CET) Received: by mail-pa0-f46.google.com with SMTP id lf10so11729881pab.5 for ; Tue, 11 Nov 2014 18:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nZ9vEz8UPDyECPHPqDQUL4ADkN4qG2FdXB6QHl915gs=; b=EnF/WQjeYW0xwxYBT0Tsy0+lBltbyyVxhEYsezNDKdJjoldhaaw6H/2pet0kid/74i FkD0hakA8cgHImEdVSFwkWmcJ8eqITai8wyJNkO4bG5EBSDZH5Y4LZNpJZ2sRTf3Pl+S lTgJJBfSFn0sWpW/fHAjxo4QhV09V/UkwZb5hwG6Xy+x5H3LYatm/cHs6DdA36cGf3Gx NBryAFTcu5qqLyGIgScRTvEvgbBDLu0BSMqpzI0C5E3VKT458+xCX3YSVMuXzXVbsbEX QwXW1BGRMpkpdn8xMIiB7tP76QFHyaJD6lqzQDkbzSRiv6o8JuMpFmc9yqH2pM2AS68B yibA== X-Received: by 10.68.162.66 with SMTP id xy2mr1295850pbb.28.1415757603855; Tue, 11 Nov 2014 18:00:03 -0800 (PST) Received: from localhost.localdomain (morse-p.static.monkeybrains.net. [208.90.214.40]) by mx.google.com with ESMTPSA id m5sm20567670pdi.24.2014.11.11.18.00.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Nov 2014 18:00:02 -0800 (PST) From: John Tobias To: festevam@gmail.com Date: Tue, 11 Nov 2014 17:59:51 -0800 Message-Id: <1415757594-64353-3-git-send-email-john.tobias.ph@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415757594-64353-1-git-send-email-john.tobias.ph@gmail.com> References: <1415757594-64353-1-git-send-email-john.tobias.ph@gmail.com> Cc: u-boot@lists.denx.de, jeroen@myspectrum.nl, otavio@ossystems.com.br Subject: [U-Boot] [PATCH v5 2/5] imx6: add spl in the header file X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de add the spl info in the header file. Also, added the macro statement in m6sabre_common.h to avoid compiler warning. Signed-off-by: John Tobias --- include/configs/mx6sabre_common.h | 2 ++ include/configs/mx6sabresd.h | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index c81e9e9..e4d0d14 100644 --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -95,7 +95,9 @@ #define CONFIG_BOOTDELAY 1 #define CONFIG_LOADADDR 0x12000000 +#ifndef CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_TEXT_BASE 0x17800000 +#endif #ifdef CONFIG_SUPPORT_EMMC_BOOT #define EMMC_ENV \ diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h index 938030d..a346542 100644 --- a/include/configs/mx6sabresd.h +++ b/include/configs/mx6sabresd.h @@ -12,6 +12,12 @@ #include #include +#ifdef CONFIG_SPL +#define CONFIG_SPL_LIBCOMMON_SUPPORT +#define CONFIG_SPL_MMC_SUPPORT +#include "imx6_spl.h" +#endif + #define CONFIG_MACH_TYPE 3980 #define CONFIG_MXC_UART_BASE UART1_BASE #define CONFIG_CONSOLE_DEV "ttymxc0"