1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00
Files
u-boot-megous/drivers/spi
Horatiu.Vultur@microchip.com 1b77de4476 spi: designware: Change include order
With current order of include files, the file designware_spi.c
can't see that the struct global_data has the member
board_type when CONFIG_BOARD_TYPES is defined. By not seeing this
then all the members are shifted in the struct global_data.
So when the driver is trying to read from device tree blob, it
would pass the wrong address to the function 'fdtdev_get_int'.
This will make to use the default frequency 500000.

The fix consists of changing the order of include files in
designware_spi.c to include first common.h file.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2019-03-04 17:56:26 +05:30
..
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2019-02-07 15:33:21 +05:30
2018-12-03 10:44:10 -05:00
2018-11-27 21:06:53 +05:30
2018-10-09 04:40:27 -06:00
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30