From patchwork Tue Dec 9 09:37:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alison Wang X-Patchwork-Id: 418989 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 94AC81400D5 for ; Tue, 9 Dec 2014 20:54:54 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2E6514B627; Tue, 9 Dec 2014 10:54:52 +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 XfGTaBVSJErp; Tue, 9 Dec 2014 10:54:51 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A74004B61A; Tue, 9 Dec 2014 10:54:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 19EEA4B61A for ; Tue, 9 Dec 2014 10:54:47 +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 LvuwWz0GO6qQ for ; Tue, 9 Dec 2014 10:54:47 +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 na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0142.outbound.protection.outlook.com [157.56.111.142]) by theia.denx.de (Postfix) with ESMTPS id 9C05D4B615 for ; Tue, 9 Dec 2014 10:54:43 +0100 (CET) Received: from BY2PR03CA067.namprd03.prod.outlook.com (10.141.249.40) by BN1PR03MB154.namprd03.prod.outlook.com (10.255.201.18) with Microsoft SMTP Server (TLS) id 15.1.31.17; Tue, 9 Dec 2014 09:39:05 +0000 Received: from BN1AFFO11FD013.protection.gbl (2a01:111:f400:7c10::164) by BY2PR03CA067.outlook.office365.com (2a01:111:e400:2c5d::40) with Microsoft SMTP Server (TLS) id 15.1.31.17 via Frontend Transport; Tue, 9 Dec 2014 09:39:04 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD013.mail.protection.outlook.com (10.58.52.73) with Microsoft SMTP Server (TLS) id 15.1.26.17 via Frontend Transport; Tue, 9 Dec 2014 09:39:04 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id sB99d0Lq011104; Tue, 9 Dec 2014 02:39:01 -0700 From: Alison Wang To: , , Date: Tue, 9 Dec 2014 17:37:34 +0800 Message-ID: <1418117854-43442-1-git-send-email-b18965@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(31966008)(64706001)(20776003)(97736003)(106466001)(89996001)(120916001)(47776003)(92566001)(107046002)(99396003)(21056001)(2201001)(62966003)(87936001)(68736005)(19580395003)(6806004)(77096005)(450100001)(77156002)(84676001)(19580405001)(104016003)(229853001)(33646002)(50986999)(50226001)(105606002)(107886001)(46102003)(36756003)(48376002)(4396001)(50466002)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR03MB154; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB154; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(602002); SRVR:BN1PR03MB154; X-Forefront-PRVS: 0420213CCD Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=alison.wang@freescale.com; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB154; X-OriginatorOrg: freescale.com Subject: [U-Boot] [PATCH v2] arm: ls1021a: Add CONFIG_DOS_PARTITION and CONFIG_CMD_FAT support 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This patch will fix the bug that the partitions on the SD card could not be accessed and add the support for the FAT fs. Signed-off-by: Alison Wang --- Change log: v2: Rebase the patch. include/configs/ls1021aqds.h | 3 +++ include/configs/ls1021atwr.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index e49abe5..f906215 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -312,6 +312,9 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_FSL_ESDHC #define CONFIG_GENERIC_MMC +#define CONFIG_CMD_FAT +#define CONFIG_DOS_PARTITION + /* * USB */ diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index e84a1b5..db93201 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -240,6 +240,9 @@ #define CONFIG_FSL_ESDHC #define CONFIG_GENERIC_MMC +#define CONFIG_CMD_FAT +#define CONFIG_DOS_PARTITION + /* * Video */