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 5FCCDC433EF for ; Thu, 3 Mar 2022 21:15:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A2A1383CA4; Thu, 3 Mar 2022 22:15:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="DKUTfWve"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9BCA583A3B; Thu, 3 Mar 2022 22:15:09 +0100 (CET) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BF58B83CD8 for ; Thu, 3 Mar 2022 22:14:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=alpernebiyasak@gmail.com Received: by mail-ed1-x52f.google.com with SMTP id q17so8275003edd.4 for ; Thu, 03 Mar 2022 13:14:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:from:subject:to:cc :references:content-language:in-reply-to:content-transfer-encoding; bh=c8oDlIRTT0Iz2rF4lb/lHmTvQZl7jWvDLN5cj57GJek=; b=DKUTfWveXkeCfpanQc53T6EqjgKwxkSnLVgV9miVvC67YAMXBDlXlZzMdXIchV60yY lGxeO9lycWxXWqnhwF0cPfEaNE2D+X+3BkpPkBBnWb3TOFwISZHhXtJ0ZuvqzT4mkXlT qbs9u4Fujus83Ng7x9mWbIr+bPYPCJKoht1IA389l0XsDMZB9eB3lyIzDJFi0L+H2hwD rYFHxCedhLCSXSCIYzqF9d0Him+7y9PEIISmYcNsk5W4ePDGC9bkkdtrbJcITQTyFczT GhLXuRCaCwCyWDUCSVsuDk5QXbNoGryJ4nrYj7eK0wjDIPNwIU8X7YonTFhshSShXkzM enFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:to:cc:references:content-language:in-reply-to :content-transfer-encoding; bh=c8oDlIRTT0Iz2rF4lb/lHmTvQZl7jWvDLN5cj57GJek=; b=VLrNExpKrhARD3Rv6PgWU4nNhx1geu8nqWOgLbguqRuIhX4MsyyolSWTrTxs+CPHhK 15b/NZVLrfXPUh+Obvt4V+iC1IAEOy+OlKQ+od5FgD6QeP+5dzHVfisxsRczDzXwD/pD GTod70OB4Pi9iTphnM2JhAD3+7fnKYROzGF4XZMq6sf3H+gPdX8A3l3N00I5jfwwbk1X IMOFAyM8h94wiZ3opGJHAQKSGCDgWIVyG9k6w4SHeyZZUtI/BvZ1hfC62kNX6CvuRy1s undzB8TmwBa9R2LPAYXwz2HMrtRuLgY++L8QaP7yPKNYaiugziUbT8vvbcgoW3iqqKmo Inlg== X-Gm-Message-State: AOAM5339JxWU2Gfjx0dxbhzAgYWKjYQYgxFTsN9P7ax5otaJC14LUbq7 6adngdTpTL1/rp+gTVQX33Q= X-Google-Smtp-Source: ABdhPJyKodDHNPLhdV/WumEttS6qVYVnxp4ChdBwhDLTtFCNZOZnIRWwEFJeEoWdsTvyomcOB+Nigg== X-Received: by 2002:a05:6402:5191:b0:40f:b9e0:4d1b with SMTP id q17-20020a056402519100b0040fb9e04d1bmr36450877edd.149.1646342098396; Thu, 03 Mar 2022 13:14:58 -0800 (PST) Received: from [192.168.0.74] ([178.233.26.119]) by smtp.gmail.com with ESMTPSA id n2-20020aa7c682000000b00415322c6363sm1251858edq.66.2022.03.03.13.14.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Mar 2022 13:14:57 -0800 (PST) Message-ID: <33b2d003-dd0d-fe60-4d4f-8cebe875b0eb@gmail.com> Date: Fri, 4 Mar 2022 00:07:41 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 From: Alper Nebi Yasak Subject: Re: [PATCH v2 01/25] dtoc: Make GetArgs() more flexible To: Simon Glass Cc: Ivan Mikhaylov , Tom Rini , Philippe Reynes , huang lin , Jeffy Chen , Kever Yang , U-Boot Mailing List References: <20220223230040.159317-1-sjg@chromium.org> <20220223230040.159317-2-sjg@chromium.org> Content-Language: en-US In-Reply-To: <20220223230040.159317-2-sjg@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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.5 at phobos.denx.de X-Virus-Status: Clean On 24/02/2022 02:00, Simon Glass wrote: > At present it is not possible to have arguments whic include spaces. whic -> which > Update the function to only split the args if the property is a single > string. This is a bit inconsistent, but might still be useful. > > Signed-off-by: Simon Glass > Suggested-by: Alper Nebi Yasak > --- > > Changes in v2: > - Add new patch to make GetArgs() more flexible > > tools/dtoc/fdt_util.py | 8 ++++++-- > tools/dtoc/test/dtoc_test_simple.dts | 2 ++ > tools/dtoc/test_fdt.py | 6 +++++- > 3 files changed, 13 insertions(+), 3 deletions(-) Reviewed-by: Alper Nebi Yasak The use cases and design needs more thinking still, but later.