Files
u-boot/drivers
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-12-06 14:38:03 -08:00
2019-01-15 15:28:53 -05:00
2019-02-27 09:12:33 +08:00
2018-12-19 15:23:00 +01:00
2019-02-25 16:07:36 +01:00
2019-02-27 09:12:33 +08:00
2019-02-20 15:27:08 +08:00
2018-12-06 14:37:51 -08:00
2019-01-18 22:19:08 +05:30
2018-07-19 16:31:38 -04:00
2019-02-20 15:27:11 +08:00
2019-03-04 17:56:26 +05:30
2018-11-29 09:30:06 -07:00