Re: [PATCH rtems-libbsd v2] regulator: Disable FDT parts for non-FDT targets

2020-04-26 Thread Chris Johns

On 17/4/20 11:04 pm, jan.som...@dlr.de wrote:

I can confirm, that the current 5-freebsd-12 branch builds now for pc686-BSP.


Thank you for sorting this out.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH rtems-libbsd v2] regulator: Disable FDT parts for non-FDT targets

2020-04-17 Thread Christian Mauderer
On 17/04/2020 15:04, jan.som...@dlr.de wrote:
> I can confirm, that the current 5-freebsd-12 branch builds now for pc686-BSP.
> Thanks.

Thanks for testing and sorry for introducing these bugs. It seems I had
very bad luck with this patch set. It already broke two builds and I
just found another bug that only affects my special board configuration
but still needs a fix commit. I'll send that to the list soon but I
definitively will not push that fix commit before re-testing it on Monday...

Best Regards

Christian

> 
>> -Original Message-
>> From: devel [mailto:devel-boun...@rtems.org] On Behalf Of Christian
>> Mauderer
>> Sent: Friday, April 17, 2020 2:49 PM
>> To: Sebastian Huber; devel@rtems.org
>> Subject: Re: [PATCH rtems-libbsd v2] regulator: Disable FDT parts for non-FDT
>> targets
>>
>> On 17/04/2020 14:42, Sebastian Huber wrote:
>>> Please push it, if it fixes the build.
>>>
>>
>> Thanks. Pushed.
>>
>> --
>> 
>> embedded brains GmbH
>> Herr Christian Mauderer
>> Dornierstr. 4
>> D-82178 Puchheim
>> Germany
>> email: christian.maude...@embedded-brains.de
>> Phone: +49-89-18 94 741 - 18
>> Fax:   +49-89-18 94 741 - 08
>> PGP: Public key available on request.
>>
>> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>> ___
>> devel mailing list
>> devel@rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel

-- 

embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.maude...@embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

RE: [PATCH rtems-libbsd v2] regulator: Disable FDT parts for non-FDT targets

2020-04-17 Thread Jan.Sommer
I can confirm, that the current 5-freebsd-12 branch builds now for pc686-BSP.
Thanks.

> -Original Message-
> From: devel [mailto:devel-boun...@rtems.org] On Behalf Of Christian
> Mauderer
> Sent: Friday, April 17, 2020 2:49 PM
> To: Sebastian Huber; devel@rtems.org
> Subject: Re: [PATCH rtems-libbsd v2] regulator: Disable FDT parts for non-FDT
> targets
> 
> On 17/04/2020 14:42, Sebastian Huber wrote:
> > Please push it, if it fixes the build.
> >
> 
> Thanks. Pushed.
> 
> --
> 
> embedded brains GmbH
> Herr Christian Mauderer
> Dornierstr. 4
> D-82178 Puchheim
> Germany
> email: christian.maude...@embedded-brains.de
> Phone: +49-89-18 94 741 - 18
> Fax:   +49-89-18 94 741 - 08
> PGP: Public key available on request.
> 
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH rtems-libbsd v2] regulator: Disable FDT parts for non-FDT targets

2020-04-17 Thread Christian Mauderer
On 17/04/2020 14:42, Sebastian Huber wrote:
> Please push it, if it fixes the build.
> 

Thanks. Pushed.

-- 

embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.maude...@embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH rtems-libbsd v2] regulator: Disable FDT parts for non-FDT targets

2020-04-17 Thread Sebastian Huber

Please push it, if it fixes the build.

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH rtems-libbsd v2] regulator: Disable FDT parts for non-FDT targets

2020-04-17 Thread Christian Mauderer
---
 freebsd/sys/dev/extres/regulator/regulator.c | 2 ++
 freebsd/sys/dev/gpio/gpioregulator.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/freebsd/sys/dev/extres/regulator/regulator.c 
b/freebsd/sys/dev/extres/regulator/regulator.c
index ca2de6c4..49020bdb 100644
--- a/freebsd/sys/dev/extres/regulator/regulator.c
+++ b/freebsd/sys/dev/extres/regulator/regulator.c
@@ -51,7 +51,9 @@ __FBSDID("$FreeBSD$");
 #endif
 #include 
 
+#if !defined(__rtems__) || defined(FDT)
 #include 
+#endif /* !__rtems__ || FDT */
 
 SYSCTL_NODE(_hw, OID_AUTO, regulator, CTLFLAG_RD, NULL, "Regulators");
 
diff --git a/freebsd/sys/dev/gpio/gpioregulator.c 
b/freebsd/sys/dev/gpio/gpioregulator.c
index 7573c558..8ca35bfe 100644
--- a/freebsd/sys/dev/gpio/gpioregulator.c
+++ b/freebsd/sys/dev/gpio/gpioregulator.c
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
 #include 
 #include 
 
+#if !defined(__rtems__) || defined(FDT)
 #include 
 #include 
 
@@ -348,3 +349,4 @@ static devclass_t gpioregulator_devclass;
 EARLY_DRIVER_MODULE(gpioregulator, simplebus, gpioregulator_driver,
 gpioregulator_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
 MODULE_VERSION(gpioregulator, 1);
+#endif /* !__rtems__ || FDT */
-- 
2.16.4

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel