#
d678a59d |
|
18-May-2024 |
Tom Rini <trini@konsulko.com> |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9ac776b2 |
|
30-Apr-2024 |
Tom Rini <trini@konsulko.com> |
board: phytec: Remove <common.h> and add needed includes Remove <common.h> from this board vendor directory and when needed add missing include files directly. Acked-by: Wadim Egorov <w.egorov@phytec.de> Acked-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1e5de690 |
|
19-Apr-2024 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: check eeprom_data validity For all of the functions that access the eeprom_data, make sure these data are valid. Use the valid member of the phytec_eeprom_data struct. This fixes a bug where only the API revision check guarded against accessing rubbish. But if API revision was e.g. 6, eeprom setup failed before, but phytec_get_imx8m_eth would still happily access the data. Fixes: dc22188cdc8 ("board: phytec: Add common PHYTEC SoM detection") Signed-off-by: Yannic Moog <y.moog@phytec.de> Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Reviewed-by: Teresa Remmet <t.remmet@phytec.de> |
#
8fe6e9a0 |
|
19-Apr-2024 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: introduce eeprom struct member 'valid' Add a new nember to the eeprom_data that indicates whether the associated data is valid or not. Make use of this new member in the phytec_eeprom_data_init function by setting the valid value appropriately. Move the eeprom data to a new struct payload that holds the payload of the eeprom. Signed-off-by: Yannic Moog <y.moog@phytec.de> Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Reviewed-by: Teresa Remmet <t.remmet@phytec.de> |
#
aa7858fe |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: som_detection: move definitions to source file Move all function definitions in {phytec|imx8m}_som_detection from the header to the source file to prevent potential linker error regarding multiple definitions. Also move the #if blocks with the definitions. Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
da37f785 |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: imx8m_som_detection: fix uninitialized pointer bug Pointer in phytec_imx8m_detect was accessed without checking it first. Fix this by moving the pointer check in front of any accesses. Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
e2be177c |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type phytec_imx8m_detect returns -1 on error, but the return type is u8 leading to 255 return values. Fix this by changing the return type to int; there is no reason to keep it as u8 . Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
a9719ef0 |
|
17-Aug-2023 |
Teresa Remmet <t.remmet@phytec.de> |
board: phytec: common: Add imx8m specific EEPROM detection support Add imx8m specific detection part. Which includes checking the EEPROM data for article number options. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Reviewed-by: Yannic Moog <y.moog@phytec.de> Tested-by: Yannic Moog <y.moog@phytec.de> |
#
9ac776b2 |
|
30-Apr-2024 |
Tom Rini <trini@konsulko.com> |
board: phytec: Remove <common.h> and add needed includes Remove <common.h> from this board vendor directory and when needed add missing include files directly. Acked-by: Wadim Egorov <w.egorov@phytec.de> Acked-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1e5de690 |
|
19-Apr-2024 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: check eeprom_data validity For all of the functions that access the eeprom_data, make sure these data are valid. Use the valid member of the phytec_eeprom_data struct. This fixes a bug where only the API revision check guarded against accessing rubbish. But if API revision was e.g. 6, eeprom setup failed before, but phytec_get_imx8m_eth would still happily access the data. Fixes: dc22188cdc8 ("board: phytec: Add common PHYTEC SoM detection") Signed-off-by: Yannic Moog <y.moog@phytec.de> Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Reviewed-by: Teresa Remmet <t.remmet@phytec.de> |
#
8fe6e9a0 |
|
19-Apr-2024 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: introduce eeprom struct member 'valid' Add a new nember to the eeprom_data that indicates whether the associated data is valid or not. Make use of this new member in the phytec_eeprom_data_init function by setting the valid value appropriately. Move the eeprom data to a new struct payload that holds the payload of the eeprom. Signed-off-by: Yannic Moog <y.moog@phytec.de> Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Reviewed-by: Teresa Remmet <t.remmet@phytec.de> |
#
aa7858fe |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: som_detection: move definitions to source file Move all function definitions in {phytec|imx8m}_som_detection from the header to the source file to prevent potential linker error regarding multiple definitions. Also move the #if blocks with the definitions. Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
da37f785 |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: imx8m_som_detection: fix uninitialized pointer bug Pointer in phytec_imx8m_detect was accessed without checking it first. Fix this by moving the pointer check in front of any accesses. Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
e2be177c |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type phytec_imx8m_detect returns -1 on error, but the return type is u8 leading to 255 return values. Fix this by changing the return type to int; there is no reason to keep it as u8 . Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
a9719ef0 |
|
17-Aug-2023 |
Teresa Remmet <t.remmet@phytec.de> |
board: phytec: common: Add imx8m specific EEPROM detection support Add imx8m specific detection part. Which includes checking the EEPROM data for article number options. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Reviewed-by: Yannic Moog <y.moog@phytec.de> Tested-by: Yannic Moog <y.moog@phytec.de> |
#
1e5de690 |
|
19-Apr-2024 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: check eeprom_data validity For all of the functions that access the eeprom_data, make sure these data are valid. Use the valid member of the phytec_eeprom_data struct. This fixes a bug where only the API revision check guarded against accessing rubbish. But if API revision was e.g. 6, eeprom setup failed before, but phytec_get_imx8m_eth would still happily access the data. Fixes: dc22188cdc8 ("board: phytec: Add common PHYTEC SoM detection") Signed-off-by: Yannic Moog <y.moog@phytec.de> Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Reviewed-by: Teresa Remmet <t.remmet@phytec.de> |
#
8fe6e9a0 |
|
19-Apr-2024 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: introduce eeprom struct member 'valid' Add a new nember to the eeprom_data that indicates whether the associated data is valid or not. Make use of this new member in the phytec_eeprom_data_init function by setting the valid value appropriately. Move the eeprom data to a new struct payload that holds the payload of the eeprom. Signed-off-by: Yannic Moog <y.moog@phytec.de> Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Reviewed-by: Teresa Remmet <t.remmet@phytec.de> |
#
aa7858fe |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: som_detection: move definitions to source file Move all function definitions in {phytec|imx8m}_som_detection from the header to the source file to prevent potential linker error regarding multiple definitions. Also move the #if blocks with the definitions. Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
da37f785 |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: imx8m_som_detection: fix uninitialized pointer bug Pointer in phytec_imx8m_detect was accessed without checking it first. Fix this by moving the pointer check in front of any accesses. Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
e2be177c |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type phytec_imx8m_detect returns -1 on error, but the return type is u8 leading to 255 return values. Fix this by changing the return type to int; there is no reason to keep it as u8 . Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
a9719ef0 |
|
17-Aug-2023 |
Teresa Remmet <t.remmet@phytec.de> |
board: phytec: common: Add imx8m specific EEPROM detection support Add imx8m specific detection part. Which includes checking the EEPROM data for article number options. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Reviewed-by: Yannic Moog <y.moog@phytec.de> Tested-by: Yannic Moog <y.moog@phytec.de> |
#
aa7858fe |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: som_detection: move definitions to source file Move all function definitions in {phytec|imx8m}_som_detection from the header to the source file to prevent potential linker error regarding multiple definitions. Also move the #if blocks with the definitions. Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
da37f785 |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: imx8m_som_detection: fix uninitialized pointer bug Pointer in phytec_imx8m_detect was accessed without checking it first. Fix this by moving the pointer check in front of any accesses. Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
e2be177c |
|
20-Dec-2023 |
Yannic Moog <y.moog@phytec.de> |
board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type phytec_imx8m_detect returns -1 on error, but the return type is u8 leading to 255 return values. Fix this by changing the return type to int; there is no reason to keep it as u8 . Signed-off-by: Yannic Moog <y.moog@phytec.de> |
#
a9719ef0 |
|
17-Aug-2023 |
Teresa Remmet <t.remmet@phytec.de> |
board: phytec: common: Add imx8m specific EEPROM detection support Add imx8m specific detection part. Which includes checking the EEPROM data for article number options. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Reviewed-by: Yannic Moog <y.moog@phytec.de> Tested-by: Yannic Moog <y.moog@phytec.de> |
#
a9719ef0 |
|
17-Aug-2023 |
Teresa Remmet <t.remmet@phytec.de> |
board: phytec: common: Add imx8m specific EEPROM detection support Add imx8m specific detection part. Which includes checking the EEPROM data for article number options. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Reviewed-by: Yannic Moog <y.moog@phytec.de> Tested-by: Yannic Moog <y.moog@phytec.de> |