sunxi: board: extract creating a unique sid into a helper function
authorAndre Heider <a.heider@gmail.com>
Fri, 1 Oct 2021 18:29:00 +0000 (19:29 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 11 Jan 2021 23:19:34 +0000 (23:19 +0000)
commit928f4f48682a5277ca4efd0f3c4e79671dcc8e29
treec82c4277aec8c9bb7a6f5665ecfba2c991b0b14c
parentec9cdaaa13d5eacb66d711db0f995d1fe4acc09b
sunxi: board: extract creating a unique sid into a helper function

Refactor setup_environment() so we can use the created sid for a
Bluetooth address too.

Signed-off-by: Andre Heider <a.heider@gmail.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
[rebased]
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
board/sunxi/board.c