From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 00872EB64D9 for ; Thu, 6 Jul 2023 22:58:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4E9FB863A0; Fri, 7 Jul 2023 00:58:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="Df5fe+tR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 319F1863DF; Fri, 7 Jul 2023 00:57:58 +0200 (CEST) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A06EA86398 for ; Fri, 7 Jul 2023 00:57:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jh80.chung@samsung.com Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20230706225753epoutp0383f30eafeac6b4e803e66a8856440205~vaWZL4pim3257132571epoutp03c for ; Thu, 6 Jul 2023 22:57:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20230706225753epoutp0383f30eafeac6b4e803e66a8856440205~vaWZL4pim3257132571epoutp03c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1688684273; bh=Ti9Nuu0NxRaXNbDEc4JeqjCOxY04KmoQvya89itf9cQ=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=Df5fe+tRv68H070PjwepyAudbmgBUGdJktEPyHTYvf5SRli2wZrTTk1I3sHMqTmnD QxpokRXA9GohCpeUyW4R1zffEcBs/TKrpCxvTOAvUqwT8nzRsCx7dkflnbpnEaUtZu u+V/+95xhhSpN8cvYeKWmQFI34OJOEA1ipBffjJE= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20230706225753epcas1p45451e44bfabe1c5c02fc44c18398c763~vaWZCQjb41587115871epcas1p4F; Thu, 6 Jul 2023 22:57:53 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.36.144]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4QxsPX1tf5z4x9Q3; Thu, 6 Jul 2023 22:57:52 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 70.FA.27561.0F647A46; Fri, 7 Jul 2023 07:57:52 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20230706225751epcas1p351defda358f1877cc09401567d3bc24e~vaWX1Aq_U2601426014epcas1p3Y; Thu, 6 Jul 2023 22:57:51 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230706225751epsmtrp2557f7cd6d1531eac0774bea15426b4b3~vaWX0WCFH0489404894epsmtrp2B; Thu, 6 Jul 2023 22:57:51 +0000 (GMT) X-AuditID: b6c32a37-98ffc70000006ba9-8a-64a746f02de8 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 61.FA.14748.FE647A46; Fri, 7 Jul 2023 07:57:51 +0900 (KST) Received: from jh80chung01 (unknown [10.113.111.84]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230706225751epsmtip23801df1b86432e17bae0c7ded1ef61ad~vaWXk-iRf1799317993epsmtip29; Thu, 6 Jul 2023 22:57:51 +0000 (GMT) From: "Jaehoon Chung" To: =?UTF-8?Q?'Pali_Roh=C3=A1r'?= , "'Tom Rini'" Cc: "'Peng Fan'" , "'Stefan Roese'" , In-Reply-To: <20230706105034.fj243i473ks3t3sn@pali> Subject: RE: [PATCH u-boot 0/4] mmc: Explain and cleanup partition selection Date: Fri, 7 Jul 2023 07:57:51 +0900 Message-ID: <03af01d9b05d$4ab58f00$e020ad00$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: ko Thread-Index: AQLX2RzxVRTRvp7osm1Ga4rwBUHM3wEEJT2GAjYhAYEB9UmEPa2Hi52g X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAJsWRmVeSWpSXmKPExsWy7bCmru4Ht+UpBj+W8los2HOazeLHqi+s FifXfWCymDppM7vF272d7A6sHvNmnWDx2LSqk83j1YFV7B5n7+xg9Nj4bgdTAGtUtk1GamJK apFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJeYm6qrZKLT4CuW2YO0HYlhbLEnFKgUEBi cbGSvp1NUX5pSapCRn5xia1SakFKToFpgV5xYm5xaV66Xl5qiZWhgYGRKVBhQnbG6uc9rAXr pSt2XX7I3MB4TqqLkZNDQsBE4uiUrWxdjFwcQgI7GCX27TnOCuF8YpTYuf88O4TzjVFi1423 LDAtF7rnQ7XsZZRY9PkzWEJI4CWjxLTjlSA2m4CexP9FC5lBbBGBCIlT3efZQGxmgRiJnddX sILYnALGEleXXwCLCwv4SCz82cwIYrMIqEg8O7wCLM4rYCnx8uRLVghbUOLkzCcsEHO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CAJTgFjiavLL4DZwgI+Egt/NjOC2CwCKhLPDq8Ai/MKWEq8PPmSFcIWlDg58wkL xFBtid6HrYww9rKFr5khDlWQ+Pl0GStEXERidmcb1EFuElN3dTBNYBSehWTULCSjZiEZNQtJ +wJGllWMkqkFxbnpucmGBYZ5qeV6xYm5xaV56XrJ+bmbGMHRo6Wxg/He/H96hxiZOBgPMUpw MCuJ8B47syxFiDclsbIqtSg/vqg0J7X4EKM0B4uSOK/hjNkpQgLpiSWp2ampBalFMFkmDk6p BqY5GQfiszM3nHrA8sqWW2vO7batDYtP3ms5VVm7IG3miZMaRhYK0kmtxtyKdbpbM8ou3Hqd pftK8NHrA2b10qna0Zm/Ga1WiFwKiLgwY76QT+/x+feqX4Yvkl9q+kPrWsyPo2zVbscEPqwS zcl14pB0aky8sTh9/4KPfDsD9lTM6512InDvUx4TV/dPIcbe5zlzpk59as3GuCxZuPPFzHk+ 7Cd1E37yHa/U2NlzLjBM4ILKCgH2rU05q2/9E7xu1FTGrvqadbpweHz93V95njv9ayOkTtmc vu1Ul7r4DteRmZuaxPWq74jtt88W26B8RPd85OJ59taXBA9J5ySFBOn32h95M2vmoysvfng3 dSixFGckGmoxFxUnAgD9MNOKDQMAAA== X-CMS-MailID: 20230706225751epcas1p351defda358f1877cc09401567d3bc24e X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230703121637epcas1p38475ee827947796e877335866979abcb References: <20230413211057.10975-1-pali@kernel.org> <38d6a7fe-7a85-750f-5609-51a902494a63@samsung.com> <20230706105034.fj243i473ks3t3sn@pali> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean > -----Original Message----- > From: Pali Roh=C3=A1r=20=0D=0A>=20Sent:=20Thursday,=20= July=206,=202023=207:51=20PM=0D=0A>=20To:=20Jaehoon=20Chung=20;=20Tom=20Rini=20=0D=0A>=20Cc:=20Peng= =20Fan=20;=20Stefan=20Roese=20;=20u-boot= =40lists.denx.de=0D=0A>=20Subject:=20Re:=20=5BPATCH=20u-boot=200/4=5D=20mmc= :=20Explain=20and=20cleanup=20partition=20selection=0D=0A>=20=0D=0A>=20On= =20Monday=2003=20July=202023=2021:16:37=20Jaehoon=20Chung=20wrote:=0D=0A>= =20>=20Hi,=0D=0A>=20>=0D=0A>=20>=20On=204/14/23=2006:10,=20Pali=20Roh=C3=A1= r=20wrote:=0D=0A>=20>=20>=20Some=20people=20do=20not=20want=20to=20read=20r= eview=20comments=20in=20emails.=20So=20put=0D=0A>=20>=20>=20comments=20and= =20explanation=20into=20the=20source=20code=20itself;=20make=20emmc=0D=0A>= =20>=20>=20partition=20selection=20code=20more=20explicit=20and=20validate= =20configuration=20in=0D=0A>=20>=20>=20bubt=20command.=0D=0A>=20>=0D=0A>=20= >=20Sorry=20for=20too=20late.=0D=0A>=20>=20After=20applied=20this=20patch-s= et,=20some=20board=20are=20failed=20with=20spl's=20size=20overflowed=0D=0A>= =20>=0D=0A>=20>=20The=20below=20is=20one=20of=20failed=20log.=0D=0A>=20>=0D= =0A>=20>=20+arm-linux-gnueabi-ld.bfd:=20region=20=60.sram'=20overflowed=20b= y=20352=20bytes=0D=0A>=20>=20+make=5B2=5D:=20***=20=5Bscripts/Makefile.spl:= 527:=20spl/u-boot-spl=5D=20Error=201=0D=0A>=20>=20+make=5B1=5D:=20***=20=5B= Makefile:2049:=20spl/u-boot-spl=5D=20Error=202=0D=0A>=20=0D=0A>=20Crap,=20a= nd=20again=20we=20have=20there=20same=20issue.=20Patch=20after=20months=20d= oes=20not=0D=0A>=20apply=20anymore.=20And=20resending=20the=20patch=20would= =20again=20result=20in=20the=20same=0D=0A>=20problem=20that=20it=20would=20= not=20apply=20anymore=20after=20half=20of=20the=20year...=0D=0A>=20=0D=0A>= =20=0D=0A>=20Anyway,=20only=20first=20patch=20is=20SPL=20specific,=20other= =20should=20apply=20without=20any=0D=0A>=20problem.=0D=0A=0D=0AExcept=20spl= =20specific=20patch,=20I=20will=20check=20again=20about=20your=20other=20pa= tches.=20Thanks=21=0D=0A=0D=0ABest=20Regards,=0D=0AJaehoon=20Chung=0D=0A=0D= =0A>=20=0D=0A>=20>=0D=0A>=20>=20Best=20Regards,=0D=0A>=20>=20Jaehoon=20Chun= g=0D=0A>=20>=0D=0A>=20>=20>=0D=0A>=20>=20>=20Pali=20Roh=C3=A1r=20(4):=0D=0A= >=20>=20>=20=20=20mmc:=20spl:=20Make=20partition=20choice=20in=0D=0A>=20>= =20>=20=20=20=20=20default_spl_mmc_emmc_boot_partition()=20more=20explicit= =0D=0A>=20>=20>=20=20=20cmd:=20mvebu/bubt:=20Validate=20EXT_CSD=5B179=5D=20= eMMC=20register=20in=0D=0A>=20>=20>=20=20=20=20=20mmc_burn_image()=0D=0A>= =20>=20>=20=20=20sunxi:=20eMMC:=20Add=20comments=20explaining=20mapping=20b= etween=20bootpart=20and=0D=0A>=20>=20>=20=20=20=20=20mmc_switch_part()=0D= =0A>=20>=20>=20=20=20board:=20purism:=20Use=20U-Boot=20mmc=20function=20for= =20converting=20boot=20part=20to=0D=0A>=20>=20>=20=20=20=20=20part=20access= =0D=0A>=20>=20>=0D=0A>=20>=20>=20=20arch/arm/mach-sunxi/board.c=20=20=20=20= =7C=2012=20++++++++++-=0D=0A>=20>=20>=20=20board/purism/librem5/librem5.c= =20=7C=20=206=20+-----=0D=0A>=20>=20>=20=20cmd/mvebu/bubt.c=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=7C=2024=20+++++++++++++++++++--=0D=0A>=20>= =20>=20=20common/spl/spl_mmc.c=20=20=20=20=20=20=20=20=20=20=20=7C=2038=20+= ++++++++++++++++++++++++++-------=0D=0A>=20>=20>=20=204=20files=20changed,= =2064=20insertions(+),=2016=20deletions(-)=0D=0A>=20>=0D=0A=0D=0A