| /* SPDX-License-Identifier: GPL-2.0+ */ |
| * WORK Microwave work_92105 board low level init |
| * (C) Copyright 2014 DENX Software Engineering GmbH |
| * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr> |
| * Low level init is called from SPL to set up the clocks. |
| * On entry, the LPC3250 is in Direct Run mode with all clocks |
| * running at 13 MHz; on exit, ARM clock is 208 MHz, HCLK is |
| * 104 MHz and PCLK is 13 MHz. |
| * This code must run from SRAM so that the clock changes do |
| * not prevent it from executing. |
| /* Set ARM, HCLK, PCLK dividers for normal mode */ |
| /* Start HCLK PLL for 208 MHz */ |
| /* wait for HCLK PLL to lock */ |
| /* switch to normal mode */ |
| /* Return to U-Boot via saved link register */ |