hw/sd: sd: Move the sd_block_{read, write} and macros ahead
commitce6ea2efc5fb308ebf11339276f60215fe0ec44c
authorBin Meng <bin.meng@windriver.com>
Tue, 16 Feb 2021 15:02:21 +0000 (16 23:02 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 19 Feb 2021 23:17:09 +0000 (20 00:17 +0100)
tree05bc3268e622976399dedfb473e9888408c10f37
parent69694973a8ae7381128c17e72ebf55fd592640f5
hw/sd: sd: Move the sd_block_{read, write} and macros ahead

These APIs and macros may be referenced by functions that are
currently before them. Move them ahead a little bit.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210216150225.27996-5-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/sd/sd.c