mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Daniel Glöckner" <dg@emlix.com>
To: barebox@lists.infradead.org
Cc: "Daniel Glöckner" <dg@emlix.com>
Subject: [PATCH v2 01/10] Remove CONFIG_SLICE
Date: Thu, 14 May 2020 20:21:49 +0200	[thread overview]
Message-ID: <a657213deb361b7d40bfbe2a951ee28e984c8441.1589477005.git.dg@emlix.com> (raw)
In-Reply-To: <cover.1589477005.git.dg@emlix.com>
In-Reply-To: <cover.1589477005.git.dg@emlix.com>

Since we are unconditionally compiling and linking the slice code, it does
not make sense to have a config option that depends on CONFIG_POLLER.
The CONFIG_SLICE option was also broken because it was missing the "bool"
line to denote its type.

Signed-off-by: Daniel Glöckner <dg@emlix.com>
---
 commands/Kconfig | 1 -
 common/Kconfig   | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/commands/Kconfig b/commands/Kconfig
index 5ff645442..33bc4743b 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -272,7 +272,6 @@ config CMD_POLLER
 config CMD_SLICE
 	tristate
 	prompt "slice"
-	depends on SLICE
 	help
 	  slices are a way to protect resources from being accessed by pollers. The slice
 	  command can be used to print informations about slices and also to manipulate
diff --git a/common/Kconfig b/common/Kconfig
index bd2aebac7..400c0553c 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -913,10 +913,6 @@ config BAREBOXCRC32_TARGET
 config POLLER
 	bool "generic polling infrastructure"
 
-config SLICE
-	depends on POLLER
-	default y
-
 config STATE
 	bool "generic state infrastructure"
 	select CRC32
-- 
2.17.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2020-05-14 18:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-14 18:21 [PATCH v2 00/10] Support for Fastboot over UDP Daniel Glöckner
2020-05-14 18:21 ` Daniel Glöckner [this message]
2020-05-14 18:21 ` [PATCH v2 02/10] net: fixed-link phys are never acquired Daniel Glöckner
2020-05-14 18:21 ` [PATCH v2 03/10] poller: adapt remaining users to API change Daniel Glöckner
2020-05-14 18:21 ` [PATCH v2 04/10] Introduce idle slice Daniel Glöckner
2020-05-20  6:03   ` Sascha Hauer
2020-05-14 18:21 ` [PATCH v2 05/10] ratp: use poller to run ratp commands Daniel Glöckner
2020-05-14 18:21 ` [PATCH v2 06/10] fastboot: split generic code from USB gadget Daniel Glöckner
2020-05-14 18:21 ` [PATCH v2 07/10] defconfigs: update renamed fastboot options Daniel Glöckner
2020-05-14 18:21 ` [PATCH v2 08/10] fastboot: rename usbgadget.fastboot_* variables to fastboot.* Daniel Glöckner
2020-05-20  4:55   ` Sascha Hauer
2020-05-14 18:21 ` [PATCH v2 09/10] fastboot net: implement fastboot over UDP Daniel Glöckner
2020-05-20  5:52   ` Sascha Hauer
2020-05-20  6:57     ` Daniel Glöckner
2020-05-20  8:14       ` Sascha Hauer
2020-05-20  8:17   ` Sascha Hauer
2020-05-14 18:21 ` [PATCH v2 10/10] fastboot: don't close fd 0 when downloading to ram Daniel Glöckner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a657213deb361b7d40bfbe2a951ee28e984c8441.1589477005.git.dg@emlix.com \
    --to=dg@emlix.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox