mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH 00/12] include: common.h: make it include only headers
Date: Tue, 15 Oct 2024 09:10:29 +0200	[thread overview]
Message-ID: <172897622912.1432196.9754934695481714584.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20241014115040.2843121-1-a.fatoum@pengutronix.de>


On Mon, 14 Oct 2024 13:50:28 +0200, Ahmad Fatoum wrote:
> Symbols exclusively defined in common.h are a problem, because other
> headers that require them will need to include a lot of extra baggage,
> which in the worst case can lead to cyclic dependencies and in every
> case leads to longer compile times.
> 
> This series prepare for removing common.h in other headers by moving
> everything it contains apart from #includes into more fitting existing
> headers that are already being included.
> 
> [...]

Applied, thanks!

[01/12] include: common.h: move barebox startup functions into separate header
        https://git.pengutronix.de/cgit/barebox/commit/?id=e723ea2ed886 (link may not be stable)
[02/12] include: common.h: move ctrlc() functions into stdio.h
        https://git.pengutronix.de/cgit/barebox/commit/?id=0421e3c77def (link may not be stable)
[03/12] include: common.h: move out integer string parsing functions
        https://git.pengutronix.de/cgit/barebox/commit/?id=af51386c2627 (link may not be stable)
[04/12] include: common.h: move out endianness macro sanity check
        https://git.pengutronix.de/cgit/barebox/commit/?id=2a8222c22c2d (link may not be stable)
[05/12] include: common.h: move out user interface functions into stdio.h
        https://git.pengutronix.de/cgit/barebox/commit/?id=b3c618880ed5 (link may not be stable)
[06/12] include: common.h: move out memory option parsing prototypes
        https://git.pengutronix.de/cgit/barebox/commit/?id=7fa8ca6a4094 (link may not be stable)
[07/12] include: common.h: move out RW_BUF_SIZE definition
        https://git.pengutronix.de/cgit/barebox/commit/?id=1b33d75d4b07 (link may not be stable)
[08/12] commands: add macro to simplify defining one shot commands
        (no commit info)
[09/12] commands: reginfo: make command mpc5xxx-specific
        (no commit info)
[10/12] include: common.h: move out get_ram_size
        (no commit info)
[11/12] include: align: reword STACK_ALIGN_ARRAY macro parameter for clarity
        (no commit info)
[12/12] ARM: bcm283x: remove common.h include in mbox.h
        (no commit info)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




  parent reply	other threads:[~2024-10-15  7:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14 11:50 Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 01/12] include: common.h: move barebox startup functions into separate header Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 02/12] include: common.h: move ctrlc() functions into stdio.h Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 03/12] include: common.h: move out integer string parsing functions Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 04/12] include: common.h: move out endianness macro sanity check Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 05/12] include: common.h: move out user interface functions into stdio.h Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 06/12] include: common.h: move out memory option parsing prototypes Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 07/12] include: common.h: move out RW_BUF_SIZE definition Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 08/12] commands: add macro to simplify defining one shot commands Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 09/12] commands: reginfo: make command mpc5xxx-specific Ahmad Fatoum
2024-10-15  7:13   ` Sascha Hauer
2024-10-15  7:20     ` Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 10/12] include: common.h: move out get_ram_size Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 11/12] include: align: reword STACK_ALIGN_ARRAY macro parameter for clarity Ahmad Fatoum
2024-10-14 11:50 ` [PATCH 12/12] ARM: bcm283x: remove common.h include in mbox.h Ahmad Fatoum
2024-10-15  7:10 ` Sascha Hauer [this message]
2024-10-15  7:16   ` [PATCH 00/12] include: common.h: make it include only headers Sascha Hauer
2024-10-15 13:35     ` Konstantin Ryabitsev
2024-10-16 10:25       ` Sascha Hauer

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=172897622912.1432196.9754934695481714584.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --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