commit | 76afe2ff2fdbe0762af6c9fb8ec5af677c61f262 | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Sun Oct 23 12:28:12 2022 +0300 |
committer | Tom Rini <trini@konsulko.com> | Wed Nov 02 13:58:17 2022 -0400 |
tree | 879a6eaa376e14ce4956c7f3a1f7525358e36720 | |
parent | 94142a7c7cee6a8f534f6aa54d33fa53c73c7f75 [diff] |
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: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>