mx7dsabresd: Directly write to register LDOGCTL
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 17 Aug 2016 12:46:24 +0000 (09:46 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 6 Sep 2016 16:22:48 +0000 (18:22 +0200)
commit946db0cbd01090b35eb1439fa7c4ca7e015fc18b
tree57a31c29ba239de20cce6b14e05c5cba8ab65b7e
parent78eed0a6d56fd5e4cdf71ffc7ab4e74aed62a5c9
mx7dsabresd: Directly write to register LDOGCTL

Register LDOGCTL contains only bit 0 as a valid bit, so there is no need
to do a read-modify-write operation.

Simplify the code by writing directly to this register.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c