From patchwork Wed Jun 19 07:48:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?0J3QuNC60L7Qu9Cw0Lkg0J/Rg9C30LDQvdC+0LI=?= X-Patchwork-Id: 252689 X-Patchwork-Delegate: yorksun@freescale.com 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 411F42C009C for ; Thu, 20 Jun 2013 09:15:17 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0ACE54A0C7; Thu, 20 Jun 2013 01:15:12 +0200 (CEST) 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 7GZE8s1oYcRx; Thu, 20 Jun 2013 01:15:11 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CE0344A098; Thu, 20 Jun 2013 01:15:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4136C4A01F for ; Wed, 19 Jun 2013 10:20:23 +0200 (CEST) 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 xvBkK65dW-JE for ; Wed, 19 Jun 2013 10:20:18 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by theia.denx.de (Postfix) with ESMTPS id DCDE44A02D for ; Wed, 19 Jun 2013 10:20:08 +0200 (CEST) Received: by mail-pb0-f53.google.com with SMTP id xb12so4821613pbc.12 for ; Wed, 19 Jun 2013 01:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=DBy9CNehCUbwlUuGjvt+hQDZ7OB6AA93+DxWXV3LwDk=; b=MapnX3nDlxfzDl1TgYRTsga9zS2m/VMJ3FKDfuRVDngMKWHH6rvFFkRee3iyEYdh/+ sytYYQiWU+OKlcfkzA9kCtrc0qCr6QcKkktmUquSItXKwSEL57TZePQgO3Eqw4hEhXxz jQGmKbnSv+PzhquTCmoKvCUWe67/Al06Ce2lcSYAUgMpadglTWGWrBPUjlmC07UyGh+r CSQPrm2ZmZnjN1nbCilZBMSiwX84i4sSILNqE+ngs2KAKCGhRtvWB0w0zfAvSVy1oBVV MaBAlrIlPGb4L7rom3U7+5sILKr/yQwnzf5rMseYaj8b78LazBWX9oFylrhJMdJQPsPX vhZw== MIME-Version: 1.0 X-Received: by 10.66.221.132 with SMTP id qe4mr5579693pac.200.1371628124186; Wed, 19 Jun 2013 00:48:44 -0700 (PDT) Received: by 10.66.0.131 with HTTP; Wed, 19 Jun 2013 00:48:44 -0700 (PDT) Date: Wed, 19 Jun 2013 11:48:44 +0400 Message-ID: From: Nikolay Puzanov To: U-Boot list X-Mailman-Approved-At: Thu, 20 Jun 2013 01:15:04 +0200 Cc: Andy Fleming Subject: [U-Boot] [PATCH] Fix for incorrect conversion hex string to number (FMAN firmware address). X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion 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 --- arch/powerpc/cpu/mpc85xx/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 1.8.1.2 diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c index 24eb978..ece1336 100644 --- a/arch/powerpc/cpu/mpc85xx/fdt.c +++ b/arch/powerpc/cpu/mpc85xx/fdt.c @@ -492,7 +492,7 @@ void fdt_fixup_fman_firmware(void *blob) if (!p) return; - fmanfw = (struct qe_firmware *) simple_strtoul(p, NULL, 0); + fmanfw = (struct qe_firmware *) simple_strtoul(p, NULL, 16); if (!fmanfw) return;