Re: [PATCH 01/12] env: Complete generic support for writable list

2022-06-13 Thread Marek Vasut
On 6/8/22 16:39, Jan Kiszka wrote: [...] If you want to make this into a generic patch, can you somehow reduce the ever-growing ifdeffery, so that the patch won't add to it so much ? I suspect the code above can help with that, maybe it can be used to remove at least the env_locations[]

Re: [PATCH 01/12] env: Complete generic support for writable list

2022-06-08 Thread Jan Kiszka
On 06.06.22 08:42, Marek Vasut wrote: > On 5/29/22 17:37, Jan Kiszka wrote: >> On 29.05.22 03:46, Marek Vasut wrote: >>> On 5/28/22 15:02, Jan Kiszka wrote: From: Jan Kiszka This completes what 890feecaab72 started by selecting ENV_APPEND and ENV_IS_NOWHERE and by moving this

Re: [PATCH 01/12] env: Complete generic support for writable list

2022-06-06 Thread Marek Vasut
On 5/29/22 17:37, Jan Kiszka wrote: On 29.05.22 03:46, Marek Vasut wrote: On 5/28/22 15:02, Jan Kiszka wrote: From: Jan Kiszka This completes what 890feecaab72 started by selecting ENV_APPEND and ENV_IS_NOWHERE and by moving this driver to top if the list. This s@if the list@of the list@

Re: [PATCH 01/12] env: Complete generic support for writable list

2022-05-29 Thread Jan Kiszka
On 29.05.22 03:46, Marek Vasut wrote: > On 5/28/22 15:02, Jan Kiszka wrote: >> From: Jan Kiszka >> >> This completes what 890feecaab72 started by selecting ENV_APPEND and >> ENV_IS_NOWHERE and by moving this driver to top if the list. This > > s@if the list@of the list@ > >> ensures that load

Re: [PATCH 01/12] env: Complete generic support for writable list

2022-05-28 Thread Marek Vasut
On 5/28/22 15:02, Jan Kiszka wrote: From: Jan Kiszka This completes what 890feecaab72 started by selecting ENV_APPEND and ENV_IS_NOWHERE and by moving this driver to top if the list. This s@if the list@of the list@ ensures that load operations pick up both the default env and the permitted

[PATCH 01/12] env: Complete generic support for writable list

2022-05-28 Thread Jan Kiszka
From: Jan Kiszka This completes what 890feecaab72 started by selecting ENV_APPEND and ENV_IS_NOWHERE and by moving this driver to top if the list. This ensures that load operations pick up both the default env and the permitted parts of the next-prio location. When writing though, we must not