Files
u-boot/drivers
Dylan Hung 581df347db ram: ast2600: Fix incorrect statement of the register polling
The condition "~data" in the if-statement is a typo.  The original
intention is to poll if SDRAM_PHYCTRL0_INIT bit equals to 0. So use
"data == 0" for instead.

Besides, the bit[1] of "phy_status" register is hardwired to
SDRAM_PHYCTRL0_INIT (with inverse logic). Since SDRAM_PHYCTRL0_INIT has
already done, remove the unnecessary checking of phy_status[1].

Fixes: fde9314346 ("ram: aspeed: Add AST2600 DRAM control support")
Review-by: Ryan Chen <ryan_chen@aspeedtech.com>
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
2022-11-24 16:25:54 -05:00
..
2022-09-25 08:30:05 -06:00
2022-09-16 11:05:16 -04:00
2022-08-04 16:18:47 -04:00
2022-11-14 07:24:47 +01:00
2022-10-26 15:21:12 -04:00
2022-09-19 16:07:12 -04:00
2022-11-10 09:45:54 -05:00
2022-09-16 11:05:16 -04:00
2022-10-11 16:03:03 -04:00
2022-09-03 16:59:05 +03:00
2022-11-02 13:58:17 -04:00