diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-10-22 15:47:24 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-10-31 12:26:44 -0600 |
commit | c5cbbe35fd7b3d05273f4d3f273c9e613bd38d7d (patch) | |
tree | e44ca7574da59b965ccb5937dbadfcc679314fd0 /board | |
parent | b26334824b58150e82a8b202380169a9276cd161 (diff) | |
download | u-boot-c5cbbe35fd7b3d05273f4d3f273c9e613bd38d7d.zip u-boot-c5cbbe35fd7b3d05273f4d3f273c9e613bd38d7d.tar.gz u-boot-c5cbbe35fd7b3d05273f4d3f273c9e613bd38d7d.tar.bz2 |
env: Always use char for default_environment
Sometimes we use uchar and sometimes char for the default environment
array. By always using char, we can get rid of some explicit casts.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/Marvell/mvebu_armada-37xx/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell/mvebu_armada-37xx/board.c index 2de9c2a..d7b6eca 100644 --- a/board/Marvell/mvebu_armada-37xx/board.c +++ b/board/Marvell/mvebu_armada-37xx/board.c @@ -87,7 +87,7 @@ int board_init(void) #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { - char *ptr = (char *)&default_environment[0]; + char *ptr = &default_environment[0]; struct udevice *dev; struct mmc *mmc_dev; bool ddr4, emmc; |