From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Mon, 4 Nov 2013 20:41:25 +0100 Subject: [U-Boot] =?utf-8?q?=5BU-Boot=2C2/2=5D_arm=3A_atmel=3A_get_rid_of_?= =?utf-8?q?too_many_ifdeffery?= In-Reply-To: <1382343240-17815-2-git-send-email-voice.shen@atmel.com> from Bo Shen on Mon, 21 Oct 2013 16:14:00 +0800 References: <1382343240-17815-2-git-send-email-voice.shen@atmel.com> Message-ID: <1383594085-22564-1-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Bo Shen, Bo Shen writes: >Get rid of too many ifdeffery in usb ohci driver > >Add following two configuration for USB clock selecting >- CONFIG_USB_ATMEL_CLK_SEL_PLLB: using PLLB as usb ohci input clock >- CONFIG_USB_ATMEL_CLK_SEL_UPLL: using UPLL as usb ohci input clock > >Signed-off-by: Bo Shen > >--- >drivers/usb/host/ohci-at91.c | 14 ++++---------- > include/configs/afeb9260.h | 1 + > include/configs/at91rm9200ek.h | 1 + > include/configs/at91sam9260ek.h | 1 + > include/configs/at91sam9261ek.h | 1 + > include/configs/at91sam9263ek.h | 1 + > include/configs/at91sam9n12ek.h | 1 + > include/configs/at91sam9x5ek.h | 3 ++- > include/configs/cpu9260.h | 1 + > include/configs/cpuat91.h | 1 + > include/configs/eb_cpux9k2.h | 1 + > include/configs/ethernut5.h | 1 + > include/configs/meesc.h | 1 + > include/configs/otc570.h | 1 + > include/configs/pm9261.h | 1 + > include/configs/pm9263.h | 1 + > include/configs/pm9g45.h | 1 + > include/configs/sama5d3xek.h | 1 + > include/configs/sbc35_a9g20.h | 1 + > include/configs/snapper9260.h | 1 + > include/configs/stamp9g20.h | 1 + > include/configs/top9000.h | 1 + > include/configs/vl_ma2sc.h | 1 + > 23 files changed, 27 insertions(+), 11 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann