mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
ddr: altera: sdram: Switch to generic_hweight32()
Use generic function instead of CPU-specific one. Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
03439e4064
commit
58d86144d4
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ static int compute_errata_rows(unsigned long long memsize, int cs, int width,
|
|||
* Need to see if result is ordinal power of 2 before
|
||||
* attempting log2 of result.
|
||||
*/
|
||||
bits = hweight32(newrows);
|
||||
bits = generic_hweight32(newrows);
|
||||
|
||||
debug("rows workaround - bits %d\n", bits);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue