From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 20 Nov 2008 23:38:02 +0100 Subject: [U-Boot] [PATCH-OMAP3] OMAP3: Clean up EVM board file In-Reply-To: <491f3115.1ade660a.374f.4b5d@mx.google.com> References: <491f3115.1ade660a.374f.4b5d@mx.google.com> Message-ID: <20081120223802.GK20436@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 21:29 Sat 15 Nov , dirk.behme at googlemail.com wrote: > - Use readx/writex instead of direct pointer access > - Replace hardcoded values by macros > - Minor space to tab conversion > > Notes: > > - Instead of read/modify/write GPIO_DATAOUT register use SET/CLEARDATAOUT > register for GPIO64 > - GPIO 1-6 CM_FCLKEN_PER and CM_ICLKEN_PER are already configured in > per_clocks_enable(), remove it here > - Remove pin mux. Is done in set_muxconf_regs. > > No functional change. > > Signed-off-by: Dirk Behme > > --- > board/omap3/evm/evm.c | 143 +++++++++---------------------------- > board/omap3/evm/evm.h | 64 ++++++++-------- > include/asm-arm/arch-omap3/cpu.h | 2 > include/asm-arm/arch-omap3/mem.h | 8 ++ > include/asm-arm/arch-omap3/omap3.h | 1 > 5 files changed, 78 insertions(+), 140 deletions(-) apply to u-boot-arm/omap3