nitrogen6x: Setup CCM_CCOSR register
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 17 Apr 2013 13:09:56 +0000 (13:09 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 25 Apr 2013 19:15:49 +0000 (21:15 +0200)
commit492938a33484e8d1b14ed82d2545ecde08f6be30
tree9a57a8bcab3d50026d7e6d1e4566c403326e8a80
parent7a56f1791d84bb0fbd4e40bb6731915cc5ff6251
nitrogen6x: Setup CCM_CCOSR register

CKO1 drives sgtl5000 codec clock on nitrogen boards and wandboard.

Doing this setup in the bootloader will allow us to remove a lot of code in
arch/arm/mach-imx/mach-imx6q.c from the mainline kernel.

Also, according to Eric Nelson: "enabling the clock <in the bootloader> will
remove squeal after an ungraceful reboot (watchdog) if hooked up to speakers."

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/include/asm/arch-mx6/crm_regs.h
board/boundary/nitrogen6x/clocks.cfg