diff mbox series

[1/5] build: add GRAND_FLASH feature

Message ID 20230615143212.2464680-2-ynezz@true.cz
State Superseded
Delegated to: Petr Štetiar
Headers show
Series Fix missing TLS v1.3 support with OpenSSL | expand

Commit Message

Petr Štetiar June 15, 2023, 2:32 p.m. UTC
So we can mark targets which have enough flash space to accomodate
certain features.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
---
 scripts/target-metadata.pl | 1 +
 target/Config.in           | 3 +++
 2 files changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl
index e1d4ef242b86..aa81301dc5f2 100755
--- a/scripts/target-metadata.pl
+++ b/scripts/target-metadata.pl
@@ -21,6 +21,7 @@  sub target_config_features(@) {
 		/^ext4$/ and $ret .= "\tselect USES_EXT4\n";
 		/^fpu$/ and $ret .= "\tselect HAS_FPU\n";
 		/^gpio$/ and $ret .= "\tselect GPIO_SUPPORT\n";
+		/^grand_flash$/ and $ret .= "\tselect GRAND_FLASH\n";
 		/^jffs2$/ and $ret .= "\tselect USES_JFFS2\n";
 		/^jffs2_nand$/ and $ret .= "\tselect USES_JFFS2_NAND\n";
 		/^legacy-sdcard$/ and $ret .= "\tselect LEGACY_SDCARD_SUPPORT\n";
diff --git a/target/Config.in b/target/Config.in
index ac0f1f9826bf..b1c99b63000a 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -88,6 +88,9 @@  config LOW_MEMORY_FOOTPRINT
 config SMALL_FLASH
 	bool
 
+config GRAND_FLASH
+	bool
+
 config NOMMU
 	bool