mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 14:56:03 +00:00
samsung: Drop more references fo s3c24x0
This is dead code now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5644aeea8e
commit
5a8ba315f1
5 changed files with 0 additions and 58 deletions
|
@ -50,43 +50,6 @@ copyex:
|
||||||
bne copyex
|
bne copyex
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_S3C24X0
|
|
||||||
/* turn off the watchdog */
|
|
||||||
|
|
||||||
# if defined(CONFIG_S3C2400)
|
|
||||||
# define pWTCON 0x15300000
|
|
||||||
# define INTMSK 0x14400008 /* Interrupt-Controller base addresses */
|
|
||||||
# define CLKDIVN 0x14800014 /* clock divisor register */
|
|
||||||
#else
|
|
||||||
# define pWTCON 0x53000000
|
|
||||||
# define INTMSK 0x4A000008 /* Interrupt-Controller base addresses */
|
|
||||||
# define INTSUBMSK 0x4A00001C
|
|
||||||
# define CLKDIVN 0x4C000014 /* clock divisor register */
|
|
||||||
# endif
|
|
||||||
|
|
||||||
ldr r0, =pWTCON
|
|
||||||
mov r1, #0x0
|
|
||||||
str r1, [r0]
|
|
||||||
|
|
||||||
/*
|
|
||||||
* mask all IRQs by setting all bits in the INTMR - default
|
|
||||||
*/
|
|
||||||
mov r1, #0xffffffff
|
|
||||||
ldr r0, =INTMSK
|
|
||||||
str r1, [r0]
|
|
||||||
# if defined(CONFIG_S3C2410)
|
|
||||||
ldr r1, =0x3ff
|
|
||||||
ldr r0, =INTSUBMSK
|
|
||||||
str r1, [r0]
|
|
||||||
# endif
|
|
||||||
|
|
||||||
/* FCLK:HCLK:PCLK = 1:2:4 */
|
|
||||||
/* default FCLK is 120 MHz ! */
|
|
||||||
ldr r0, =CLKDIVN
|
|
||||||
mov r1, #3
|
|
||||||
str r1, [r0]
|
|
||||||
#endif /* CONFIG_S3C24X0 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* we do sys-critical inits only at reboot,
|
* we do sys-critical inits only at reboot,
|
||||||
* not when booting from ram!
|
* not when booting from ram!
|
||||||
|
|
|
@ -5,10 +5,6 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* This code should work for both the S3C2400 and the S3C2410
|
|
||||||
* as they seem to have the same I2C controller inside.
|
|
||||||
* The different address mapping is handled by the s3c24xx.h files below.
|
|
||||||
*/
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
|
|
|
@ -91,12 +91,6 @@
|
||||||
#define gadget_is_atmel_usba(g) 0
|
#define gadget_is_atmel_usba(g) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_USB_GADGET_S3C2410
|
|
||||||
#define gadget_is_s3c2410(g) (!strcmp("s3c2410_udc", (g)->name))
|
|
||||||
#else
|
|
||||||
#define gadget_is_s3c2410(g) 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_USB_GADGET_AT91
|
#ifdef CONFIG_USB_GADGET_AT91
|
||||||
#define gadget_is_at91(g) (!strcmp("at91_udc", (g)->name))
|
#define gadget_is_at91(g) (!strcmp("at91_udc", (g)->name))
|
||||||
#else
|
#else
|
||||||
|
@ -207,8 +201,6 @@ static inline int usb_gadget_controller_number(struct usb_gadget *gadget)
|
||||||
return 0x09;
|
return 0x09;
|
||||||
else if (gadget_is_pxa27x(gadget))
|
else if (gadget_is_pxa27x(gadget))
|
||||||
return 0x10;
|
return 0x10;
|
||||||
else if (gadget_is_s3c2410(gadget))
|
|
||||||
return 0x11;
|
|
||||||
else if (gadget_is_at91(gadget))
|
else if (gadget_is_at91(gadget))
|
||||||
return 0x12;
|
return 0x12;
|
||||||
else if (gadget_is_imx(gadget))
|
else if (gadget_is_imx(gadget))
|
||||||
|
|
|
@ -51,7 +51,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_CPU_ARM920T) || \
|
#if defined(CONFIG_CPU_ARM920T) || \
|
||||||
defined(CONFIG_S3C24X0) || \
|
|
||||||
defined(CONFIG_440EP) || \
|
defined(CONFIG_440EP) || \
|
||||||
defined(CONFIG_PCI_OHCI) || \
|
defined(CONFIG_PCI_OHCI) || \
|
||||||
defined(CONFIG_MPC5200) || \
|
defined(CONFIG_MPC5200) || \
|
||||||
|
|
|
@ -2295,14 +2295,7 @@ CONFIG_RUN_FROM_DDR1
|
||||||
CONFIG_RUN_FROM_IRAM_ONLY
|
CONFIG_RUN_FROM_IRAM_ONLY
|
||||||
CONFIG_RX_DESCR_NUM
|
CONFIG_RX_DESCR_NUM
|
||||||
CONFIG_S32V234
|
CONFIG_S32V234
|
||||||
CONFIG_S3C2400
|
|
||||||
CONFIG_S3C2410
|
|
||||||
CONFIG_S3C2410_NAND_BBT
|
|
||||||
CONFIG_S3C2410_NAND_HWECC
|
|
||||||
CONFIG_S3C24X0
|
CONFIG_S3C24X0
|
||||||
CONFIG_S3C24XX_TACLS
|
|
||||||
CONFIG_S3C24XX_TWRPH0
|
|
||||||
CONFIG_S3C24XX_TWRPH1
|
|
||||||
CONFIG_S3D2_CLK_FREQ
|
CONFIG_S3D2_CLK_FREQ
|
||||||
CONFIG_S3D4_CLK_FREQ
|
CONFIG_S3D4_CLK_FREQ
|
||||||
CONFIG_S5P
|
CONFIG_S5P
|
||||||
|
@ -6240,7 +6233,6 @@ CONFIG_USB_GADGET_NET2280
|
||||||
CONFIG_USB_GADGET_OMAP
|
CONFIG_USB_GADGET_OMAP
|
||||||
CONFIG_USB_GADGET_PXA27X
|
CONFIG_USB_GADGET_PXA27X
|
||||||
CONFIG_USB_GADGET_PXA2XX
|
CONFIG_USB_GADGET_PXA2XX
|
||||||
CONFIG_USB_GADGET_S3C2410
|
|
||||||
CONFIG_USB_GADGET_SA1100
|
CONFIG_USB_GADGET_SA1100
|
||||||
CONFIG_USB_GADGET_SUPERH
|
CONFIG_USB_GADGET_SUPERH
|
||||||
CONFIG_USB_GADGET_SX2
|
CONFIG_USB_GADGET_SX2
|
||||||
|
|
Loading…
Add table
Reference in a new issue