lkml.org 
[lkml]   [2020]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 3/6] partitions: Introduce NVIDIA Tegra Partition Table
From
Date
15.05.2020 04:58, Randy Dunlap пишет:
> On 5/14/20 6:41 PM, Dmitry Osipenko wrote:
>> diff --git a/block/partitions/Kconfig b/block/partitions/Kconfig
>> index 702689a628f0..2c1408cba1a6 100644
>> --- a/block/partitions/Kconfig
>> +++ b/block/partitions/Kconfig
>> @@ -268,3 +268,11 @@ config CMDLINE_PARTITION
>> help
>> Say Y here if you want to read the partition table from bootargs.
>> The format for the command line is just like mtdparts.
>> +
>> +config TEGRA_PARTITION
>> + bool "NVIDIA Tegra Partition support" if PARTITION_ADVANCED
>> + default y if ARCH_TEGRA
>> + depends on (ARCH_TEGRA && MMC_BLOCK) || COMPILE_TEST
>
> That looks odd. Such depends are more often like:
> depends on MMC_BLOCK && (ARCH_TEGRA || COMPILE_TEST)
>
> but that's just my experience. If this works when ARCH_TEGRA and MMC_BLOCK
> are not set and COMPILE_TEST is set, that's fine.

Ah, right! It shouldn't work since mmc_bdev_to_card() will be undefined
if MMC_BLOCK=n. Good catch, thank you! :)

\
 
 \ /
  Last update: 2020-05-15 04:03    [W:0.056 / U:0.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site