Re: [PATCH 2/2] arm: mach-snapdrgon: misc: Simplify msm_generate_mac_addr()

2021-08-02 Thread Ramon Fried
On Mon, Aug 2, 2021 at 5:52 PM Stephan Gerhold wrote: > > The logic in msm_generate_mac_addr() was originally taken from the LK > bootloader where the serial number is a string and must be parsed first. > However, in U-Boot msm_board_serial() returns an u32 and > msm_generate_mac_addr() has quite

[PATCH 2/2] arm: mach-snapdrgon: misc: Simplify msm_generate_mac_addr()

2021-08-02 Thread Stephan Gerhold
The logic in msm_generate_mac_addr() was originally taken from the LK bootloader where the serial number is a string and must be parsed first. However, in U-Boot msm_board_serial() returns an u32 and msm_generate_mac_addr() has quite complicated code that will first print it as a hex string and