diff options
author | Dario Binacchi <dario.binacchi@amarulasolutions.com> | 2022-01-31 08:50:05 +0100 |
---|---|---|
committer | Andrejs Cainikovs <andrejs.cainikovs@toradex.com> | 2022-05-10 13:52:00 +0200 |
commit | 714e9fa88354fba4001cf099a48f909128df259d (patch) | |
tree | ce427485a9a68160e9bf568f75fd1cbbfe1d3eac /cmd/pmc.c | |
parent | 8a365642835e7926eccf44c90461685d6662cccd (diff) |
imx: mx6ull: fix REFTOP_VBGADJ setting
[ Upstream commit c1af358cf51a85ed8c47fc576d3cae34196ec47f ]
The previous code wrote the contents of the fuse as is in the
REFTOP_VBGADJ[2:0], but this was wrong if you consider the contents of
the table in the code comment. This table is also different from the
table in the commit description. But then, which of the two is correct?
If it is assumed that an unprogrammed fuse has a value of 0 then for
backward compatibility of the code REFTOP_VBGADJ[2:0] must be set to
6 (b'110). Therefore, the table in the code comment can be considered
correct as well as this patch.
Fixes: 97c16dc8bf098 ("imx: mx6ull: update the REFTOP_VBGADJ setting")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Diffstat (limited to 'cmd/pmc.c')
0 files changed, 0 insertions, 0 deletions