From patchwork Thu Feb 20 17:55:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 25074 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 13E6A203C6 for ; Thu, 20 Feb 2014 17:56:08 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id g12sf8510309oah.6 for ; Thu, 20 Feb 2014 09:56:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=WnJ7v47YQa67ry+0BFO3MUEj8CgpSAnrQ49nl72/L44=; b=HMhXKt9dWh+aJp8xeomFjvO2PDFuccXzoJXZZpqJZZyefcPQGp0N08ySUX65GJCbQR JxJuPZ+7iWNI9H7Y0bexVD+azHyhiEpJlRCQ7mMAecMZJff7vRtnhNGEeTuC6gVhv3CZ v9Hwclx51e1N3PGTp21hGte4kGqjCtmO9YVwP+EvqtWpF57t2IdJQZGpGKMqmdZFlAm3 bEozEQiGK88g0WqHePyrxJrNv/4b19Mx4ZfXZDDLqBVLuJf5sP7Ms2IlUSIhI0qxlsCu mchsjAmuu4vQpPe5bHd+9d1hKWY2rlO8vN9kSs0ospUI8rNCOfHSgJKDJPOV+xTAmDI2 b8Rg== X-Gm-Message-State: ALoCoQk6ODi3Q0rscGCnjavShB743wHSL1Etjb60VJu2K2HRWliYQNxx3topoHsM4Ju79rC4wXIY X-Received: by 10.43.96.73 with SMTP id cf9mr1113075icc.22.1392918967238; Thu, 20 Feb 2014 09:56:07 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.47.227 with SMTP id m90ls665372qga.38.gmail; Thu, 20 Feb 2014 09:56:07 -0800 (PST) X-Received: by 10.220.159.4 with SMTP id h4mr1773050vcx.1.1392918966992; Thu, 20 Feb 2014 09:56:06 -0800 (PST) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id xs6si1770296vec.116.2014.02.20.09.56.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Feb 2014 09:56:06 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id lh14so2228967vcb.10 for ; Thu, 20 Feb 2014 09:56:06 -0800 (PST) X-Received: by 10.52.246.227 with SMTP id xz3mr1450080vdc.95.1392918966862; Thu, 20 Feb 2014 09:56:06 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp77504vcz; Thu, 20 Feb 2014 09:56:06 -0800 (PST) X-Received: by 10.205.0.10 with SMTP id nk10mr940803bkb.118.1392918965741; Thu, 20 Feb 2014 09:56:05 -0800 (PST) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id to4si2532102bkb.145.2014.02.20.09.56.05 for ; Thu, 20 Feb 2014 09:56:05 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 15E744B5E3; Thu, 20 Feb 2014 18:56:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 RFyeqtBBqBJH; Thu, 20 Feb 2014 18:55:59 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 828FD4B5B1; Thu, 20 Feb 2014 18:55:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9309F4B5B1 for ; Thu, 20 Feb 2014 18:55:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 a7TiqdaBC0mj for ; Thu, 20 Feb 2014 18:55:40 +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 comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by theia.denx.de (Postfix) with ESMTPS id 5CDE14B5B9 for ; Thu, 20 Feb 2014 18:55:36 +0100 (CET) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s1KHtYBj010118 for ; Thu, 20 Feb 2014 11:55:34 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1KHtYDf014059 for ; Thu, 20 Feb 2014 11:55:34 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Thu, 20 Feb 2014 11:55:33 -0600 Received: from ares-ubuntu.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1KHtXLH023441; Thu, 20 Feb 2014 11:55:33 -0600 Received: from a0868495 by ares-ubuntu.am.dhcp.ti.com with local (Exim 4.76) (envelope-from ) id 1WGXqP-00043v-Jg; Thu, 20 Feb 2014 12:55:33 -0500 From: Murali Karicheri To: , Date: Thu, 20 Feb 2014 12:55:03 -0500 Message-ID: <1392918914-15564-2-git-send-email-m-karicheri2@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1392918914-15564-1-git-send-email-m-karicheri2@ti.com> References: <1392918914-15564-1-git-send-email-m-karicheri2@ti.com> MIME-Version: 1.0 Subject: [U-Boot] [U-Boot PATCH v2 01/12] fdt: call ft_board_setup_ex() at the end of image_setup_libfdt() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m-karicheri2@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Vitaly Andrianov The keystone2 SOC requires to fix all 32 bit aliased addresses to their 36 physical format. This has to happen after all fdt nodes are added or modified. Signed-off-by: Vitaly Andrianov --- - no update since v1 common/image-fdt.c | 5 +++++ include/fdt_support.h | 1 + 2 files changed, 6 insertions(+) diff --git a/common/image-fdt.c b/common/image-fdt.c index 6f9ce7d..ee4dd6f 100644 --- a/common/image-fdt.c +++ b/common/image-fdt.c @@ -487,5 +487,10 @@ int image_setup_libfdt(bootm_headers_t *images, void *blob, if (!ft_verify_fdt(blob)) return -1; +#ifdef CONFIG_SOC_K2HK + if (IMAAGE_OF_BOARD_SETUP) + ft_board_setup_ex(blob, gd->bd); +#endif + return 0; } diff --git a/include/fdt_support.h b/include/fdt_support.h index 9871e2f..4c1416d 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -63,6 +63,7 @@ int fdt_pci_dma_ranges(void *blob, int phb_off, struct pci_controller *hose); #endif void ft_board_setup(void *blob, bd_t *bd); +void ft_board_setup_ex(void *blob, bd_t *bd); void ft_cpu_setup(void *blob, bd_t *bd); void ft_pci_setup(void *blob, bd_t *bd);