Skip to content
Commit aa59c1be authored by Baruch Siach's avatar Baruch Siach Committed by Tom Rini
Browse files

cmd: eeprom: don't truncate target address at 32-bit



On 64-bit platforms where int is 32-bit wide, the eeprom command
parse_numeric_param() routine truncates the memory address parameter to
the lower 32-bit. Make parse_numeric_param() return long to allow
read/write of addresses beyond the lower 4GB.

Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent 0b999d20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment