32_t crc, const void
> *_buf, unsigned int len)
> #ifdef CONFIG_DYNAMIC_CRC_TABLE
> if (!crc_table)
> make_crc_table();
> -#endif
> +#endif /* CONFIG_DYNAMIC_CRC_TABLE */
> while (len >= 8)
> {
>DO8(buf);
> @@ -186,6 +207,7 @@ STATIC
c32_no_comp(uint32_t crc, const void
*_buf, unsigned int len)
return crc;
}
+#endif /* __PBL__ */
STATIC uint32_t crc32_be(uint32_t crc, const void *_buf, unsigned int len)
{
---
base-commit: bef38b18eeb5d2f1fac334fb8b831e47261e099c
change-id: 20230829-crc32_in_pbl-4d824629d4e2
Best regards,
--
Johannes Zink
On the Debix SBC the EQOS interface is used as primary interface, the
FEC pins are routed to the extension header. On the other hand the Debix
SoM/Baseboard combination both interfaces are used. So fix the RGMII pin
setup by adding the EQOS pin as well and keep the FEC.
Signed-off-by: Marco
For the Debix SoM/Baseboard combination the MAC addresses are stored on
a baseboard EEPROM in ASCII format. This commit adds the support to read
the MAC addresses from the EEPROM and set it accordingly.
Signed-off-by: Marco Felsch
---
arch/arm/boards/polyhex-debix/board.c | 66
Sync the *-upstream.dts(i) versions with the mainlined kernel version [1]
available with v6.6.
[1]
https://lore.kernel.org/all/20230809071026.3546605-4-m.fel...@pengutronix.de/
Signed-off-by: Marco Felsch
---
.../imx8mp-debix-som-a-bmb-08-upstream.dts| 126 --
Upstream [1] did not accept the "polyhex,imx8mp-debix" since it is to
generic. We could add "polyhex,imx8mp-debix" it to our barebox
devicetree but since we need to differentiate between the SBC and SOM
anyway, add the upstream landed compatible.
[1]
he best way to go about it
then.
Cheers,
Ahmad
>
> Best regards
> Johannes
>
>> Let me know what you think.
>>
>> Cheers,
>> Ahmad
>>
>>>
>>> Best regards
>>> Johannes
>>>
>>>
>>>>&g
able();
#endif
---
base-commit: bef38b18eeb5d2f1fac334fb8b831e47261e099c
change-id: 20230829-crc32_in_pbl-4d824629d4e2
Best regards,
--
Pengutronix e.K.| Johannes Zink |
Steuerwalder Str. 21| https://www.pengutronix.de/|
31137 Hildesheim, German
p; !defined(__PBL__)
>>>> if (!crc_table)
>>>> make_crc_table();
>>>> #endif
>>>> @@ -171,7 +171,7 @@ STATIC uint32_t crc32_no_comp(uint32_t crc, const void
>>>> *_buf, unsigned int len)
>>>> {
>>>>
{
const unsigned char *buf = _buf;
-#ifdef CONFIG_DYNAMIC_CRC_TABLE
+#if defined(CONFIG_DYNAMIC_CRC_TABLE) && !defined(__PBL__)
if (!crc_table)
make_crc_table();
#endif
---
base-commit: bef38b18eeb5d2f1fac334fb8b831e47261e099c
change-id: 20230829-crc32
& !defined(__PBL__)
>> if (!crc_table)
>> make_crc_table();
>> #endif
>> @@ -171,7 +171,7 @@ STATIC uint32_t crc32_no_comp(uint32_t crc, const void
>> *_buf, unsigned int len)
>> {
>> const unsigned char *buf = _buf;
>>
>> -#ifdef CONFIG_DYNAMIC
table();
> #endif
> @@ -171,7 +171,7 @@ STATIC uint32_t crc32_no_comp(uint32_t crc, const void
> *_buf, unsigned int len)
> {
> const unsigned char *buf = _buf;
>
> -#ifdef CONFIG_DYNAMIC_CRC_TABLE
> +#if defined(CONFIG_DYNAMIC_CRC_TAB
d(CONFIG_DYNAMIC_CRC_TABLE) && !defined(__PBL__)
if (!crc_table)
make_crc_table();
#endif
---
base-commit: bef38b18eeb5d2f1fac334fb8b831e47261e099c
change-id: 20230829-crc32_in_pbl-4d824629d4e2
Best regards,
--
Johannes Zink
13 matches
Mail list logo