ARM: remove armlinux_set_bootparams() calls from boards
As the place for the atags now is determined automatically the call from the boards can be removed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
eb959e1bdf
commit
cee2a60c56
|
@ -124,8 +124,6 @@ static int a9m2410_devices_init(void)
|
|||
devfs_add_partition("nand0", 0x40000, 0x20000, DEVFS_PARTITION_FIXED, "env_raw");
|
||||
dev_add_bb_dev("env_raw", "env0");
|
||||
#endif
|
||||
|
||||
armlinux_set_bootparams((void*)S3C_SDRAM_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_A9M2410);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -144,7 +144,6 @@ static int a9m2440_devices_init(void)
|
|||
devfs_add_partition("nand0", 0x40000, 0x20000, DEVFS_PARTITION_FIXED, "env_raw");
|
||||
dev_add_bb_dev("env_raw", "env0");
|
||||
#endif
|
||||
armlinux_set_bootparams((void*)S3C_SDRAM_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_A9M2440);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -306,7 +306,6 @@ static int animeo_ip_devices_init(void)
|
|||
animeo_ip_add_device_buttons();
|
||||
animeo_ip_add_device_led();
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
/*
|
||||
* in production the machine id used is the cpu module machine id
|
||||
* PICOCOM1
|
||||
|
|
|
@ -78,8 +78,6 @@ static int archosg9_devices_init(void){
|
|||
&pwrbtn_data);
|
||||
add_gpio_keys_device(DEVICE_ID_DYNAMIC, &gk_data);
|
||||
#endif
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
/*
|
||||
* This should be:
|
||||
* armlinux_set_architecture(MACH_TYPE_OMAP4_ARCHOSG9);
|
||||
|
|
|
@ -175,7 +175,6 @@ static int at91rm9200ek_devices_init(void)
|
|||
devfs_add_partition("nor0", 0x40000, 0x20000, DEVFS_PARTITION_FIXED, "env0");
|
||||
#endif
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
armlinux_set_architecture(MACH_TYPE_AT91RM9200EK);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -248,7 +248,6 @@ static int at91sam9260ek_devices_init(void)
|
|||
ek_add_device_buttons();
|
||||
ek_add_led();
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
ek_set_board_type();
|
||||
|
||||
devfs_add_partition("nand0", 0x00000, SZ_128K, DEVFS_PARTITION_FIXED, "at91bootstrap_raw");
|
||||
|
|
|
@ -389,7 +389,6 @@ static int at91sam9261ek_devices_init(void)
|
|||
devfs_add_partition("nand0", SZ_512K, SZ_128K, DEVFS_PARTITION_FIXED, "env_raw1");
|
||||
dev_add_bb_dev("env_raw1", "env1");
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
if (machine_is_at91sam9g10ek())
|
||||
armlinux_set_architecture(MACH_TYPE_AT91SAM9G10EK);
|
||||
else
|
||||
|
|
|
@ -270,7 +270,6 @@ static int at91sam9263ek_devices_init(void)
|
|||
dev_add_bb_dev("env_raw1", "env1");
|
||||
}
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
armlinux_set_architecture(MACH_TYPE_AT91SAM9263EK);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -316,7 +316,6 @@ static int at91sam9m10g45ek_devices_init(void)
|
|||
devfs_add_partition("nand0", SZ_512K, SZ_128K, DEVFS_PARTITION_FIXED, "env_raw1");
|
||||
dev_add_bb_dev("env_raw1", "env1");
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_6 + 0x100));
|
||||
armlinux_set_architecture(MACH_TYPE_AT91SAM9M10G45EK);
|
||||
ek_set_board_revision();
|
||||
|
||||
|
|
|
@ -270,7 +270,6 @@ static int at91sam9m10ihd_devices_init(void)
|
|||
devfs_add_partition("nand0", SZ_512K, SZ_128K, DEVFS_PARTITION_FIXED, "env_raw1");
|
||||
dev_add_bb_dev("env_raw1", "env1");
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_6 + 0x100));
|
||||
/*
|
||||
* The internal Atmel kernel use the SAM9M10G45EK machine id
|
||||
* The mainline use DT
|
||||
|
|
|
@ -316,7 +316,6 @@ static int at91sam9n12ek_devices_init(void)
|
|||
ek_add_device_buttons();
|
||||
ek_add_device_lcdc();
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
armlinux_set_architecture(CONFIG_MACH_AT91SAM9N12EK);
|
||||
|
||||
devfs_add_partition("nand0", 0x00000, SZ_256K, DEVFS_PARTITION_FIXED, "at91bootstrap_raw");
|
||||
|
|
|
@ -309,7 +309,6 @@ static int at91sam9x5ek_devices_init(void)
|
|||
ek_add_device_i2c();
|
||||
ek_add_device_lcdc();
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
armlinux_set_architecture(CONFIG_MACH_AT91SAM9X5EK);
|
||||
|
||||
devfs_add_partition("nand0", 0x00000, SZ_256K, DEVFS_PARTITION_FIXED, "at91bootstrap_raw");
|
||||
|
|
|
@ -136,7 +136,6 @@ static int beagle_devices_init(void)
|
|||
|
||||
omap3_add_mmc1(NULL);
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_OMAP3_BEAGLE);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -171,7 +171,6 @@ static int beaglebone_env_init(void)
|
|||
|
||||
printf("detected 'BeagleBone %s'\n", black ? "Black" : "White");
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_BEAGLEBONE);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -461,8 +461,6 @@ static int ccxmx51_devices_init(void)
|
|||
|
||||
imx51_add_usbotg(&ccxmx51_otg_pdata);
|
||||
|
||||
armlinux_set_bootparams((void *)(MX51_CSD0_BASE_ADDR + 0x100));
|
||||
|
||||
armlinux_set_architecture(ccxmx51_id->wless ? MACH_TYPE_CCWMX51 : MACH_TYPE_CCMX51);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -298,7 +298,6 @@ static int falconwing_devices_init(void)
|
|||
|
||||
falconwing_init_usb();
|
||||
|
||||
armlinux_set_bootparams((void *)IMX_MEMORY_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_CHUMBY);
|
||||
|
||||
rc = envfs_register_partition("disk0", 1);
|
||||
|
|
|
@ -41,7 +41,6 @@ static int clps711x_devices_init(void)
|
|||
devfs_add_partition("nor0", SZ_256K, SZ_256K, DEVFS_PARTITION_FIXED,
|
||||
"env0");
|
||||
|
||||
armlinux_set_bootparams((void *)SDRAM0_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_CLEP7212);
|
||||
armlinux_set_serial(((u64)serial_h << 32) | serial_l);
|
||||
|
||||
|
|
|
@ -122,7 +122,6 @@ static int cfa10036_devices_init(void)
|
|||
for (i = 0; i < ARRAY_SIZE(cfa10036_pads); i++)
|
||||
imx_gpio_mode(cfa10036_pads[i]);
|
||||
|
||||
armlinux_set_bootparams((void *)IMX_MEMORY_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_CFA10036);
|
||||
|
||||
add_generic_device("mxs_mci", 0, NULL, IMX_SSP0_BASE, SZ_8K,
|
||||
|
|
|
@ -72,7 +72,6 @@ static int dfi_fs700_m60_init(void)
|
|||
imx6_bbu_internal_mmc_register_handler("mmc", "/dev/mmc3.boot0",
|
||||
BBU_HANDLER_FLAG_DEFAULT, NULL, 0, 0);
|
||||
|
||||
armlinux_set_bootparams((void *)0x10000100);
|
||||
armlinux_set_architecture(MACH_TYPE_MX6Q_SABRESD);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -139,7 +139,6 @@ static int dss11_devices_init(void)
|
|||
at91_add_device_mci(0, &dss11_mci_data);
|
||||
at91_add_device_usbh_ohci(&dss11_usbh_data);
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
armlinux_set_architecture(MACH_TYPE_DSS11);
|
||||
|
||||
devfs_add_partition("nand0", 0x00000, 0x20000, DEVFS_PARTITION_FIXED, "bootstrap");
|
||||
|
|
|
@ -72,8 +72,6 @@ static int ep93xx_devices_init(void)
|
|||
add_generic_device("ep93xx_eth", DEVICE_ID_DYNAMIC, NULL, 0, 0, IORESOURCE_MEM,
|
||||
NULL);
|
||||
|
||||
armlinux_set_bootparams((void *)CONFIG_EP93XX_SDRAM_BANK0_BASE + 0x100);
|
||||
|
||||
armlinux_set_architecture(MACH_TYPE);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -263,7 +263,6 @@ static int efikamx_late_init(void)
|
|||
flash_header_imx51_genesi_efikasb_end -
|
||||
flash_header_imx51_genesi_efikasb_start, 0);
|
||||
|
||||
armlinux_set_bootparams((void *)0x90000100);
|
||||
armlinux_set_architecture(2370);
|
||||
armlinux_set_revision(0x5100 | imx_silicon_revision());
|
||||
|
||||
|
|
|
@ -220,7 +220,6 @@ static int eukrea_cpuimx25_devices_init(void)
|
|||
IORESOURCE_MEM, &usb_pdata);
|
||||
#endif
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_EUKREA_CPUIMX25SD);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -198,7 +198,6 @@ static int eukrea_cpuimx27_devices_init(void)
|
|||
gpio_set_value(GPIO_PORTA | 25, 1);
|
||||
#endif
|
||||
|
||||
armlinux_set_bootparams((void *)0xa0000100);
|
||||
armlinux_set_architecture(MACH_TYPE_EUKREA_CPUIMX27);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -217,7 +217,6 @@ static int eukrea_cpuimx35_devices_init(void)
|
|||
add_generic_device("fsl-udc", DEVICE_ID_DYNAMIC, NULL, MX35_USB_OTG_BASE_ADDR, 0x200,
|
||||
IORESOURCE_MEM, &usb_pdata);
|
||||
#endif
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_EUKREA_CPUIMX35SD);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -120,7 +120,6 @@ static int eukrea_cpuimx51_devices_init(void)
|
|||
gpio_set_value(GPIO_LAN8700_RESET, 1);
|
||||
gpio_direction_output(GPIO_LCD_BL, 0);
|
||||
|
||||
armlinux_set_bootparams((void *)0x90000100);
|
||||
armlinux_set_architecture(MACH_TYPE_EUKREA_CPUIMX51SD);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -111,7 +111,6 @@ static int mx23_evk_devices_init(void)
|
|||
for (i = 0; i < ARRAY_SIZE(pad_setup); i++)
|
||||
imx_gpio_mode(pad_setup[i]);
|
||||
|
||||
armlinux_set_bootparams((void*)IMX_MEMORY_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_MX23EVK);
|
||||
|
||||
add_generic_device("mxs_mci", DEVICE_ID_DYNAMIC, NULL, IMX_SSP1_BASE,
|
||||
|
|
|
@ -215,7 +215,6 @@ static int imx25_3ds_devices_init(void)
|
|||
i2c_register_board_info(0, i2c_devices, ARRAY_SIZE(i2c_devices));
|
||||
imx25_add_i2c0(NULL);
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_MX25_3DS);
|
||||
armlinux_set_serial(imx_uid());
|
||||
|
||||
|
|
|
@ -268,7 +268,6 @@ static int mx28_evk_devices_init(void)
|
|||
for (i = 0; i < ARRAY_SIZE(mx28evk_pads); i++)
|
||||
imx_gpio_mode(mx28evk_pads[i]);
|
||||
|
||||
armlinux_set_bootparams((void *)IMX_MEMORY_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_MX28EVK);
|
||||
|
||||
add_generic_device("mxs_mci", 0, NULL, IMX_SSP0_BASE, 0x2000,
|
||||
|
|
|
@ -177,7 +177,6 @@ static int f3s_devices_init(void)
|
|||
|
||||
imx35_add_fb(&ipu_fb_data);
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_MX35_3DS);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -172,7 +172,6 @@ static int imx51_babbage_late_init(void)
|
|||
imx51_init_lowlevel(800);
|
||||
clock_notifier_call_chain();
|
||||
|
||||
armlinux_set_bootparams((void *)0x90000100);
|
||||
armlinux_set_architecture(MACH_TYPE_MX51_BABBAGE);
|
||||
|
||||
imx51_bbu_internal_mmc_register_handler("mmc", "/dev/mmc0",
|
||||
|
|
|
@ -113,7 +113,6 @@ static int loco_late_init(void)
|
|||
|
||||
set_silicon_rev(imx_silicon_revision());
|
||||
|
||||
armlinux_set_bootparams((void *)0x70000100);
|
||||
armlinux_set_architecture(MACH_TYPE_MX53_LOCO);
|
||||
|
||||
imx53_bbu_internal_mmc_register_handler("mmc", "/dev/mmc0",
|
||||
|
|
|
@ -131,7 +131,6 @@ static int smd_devices_init(void)
|
|||
|
||||
smd_fec_reset();
|
||||
|
||||
armlinux_set_bootparams((void *)0x70000100);
|
||||
armlinux_set_architecture(MACH_TYPE_MX53_SMD);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -30,7 +30,6 @@ extern char flash_header_imx53_vmx53_end[];
|
|||
|
||||
static int vmx53_late_init(void)
|
||||
{
|
||||
armlinux_set_bootparams((void *)0x70000100);
|
||||
armlinux_set_architecture(MACH_TYPE_VMX53);
|
||||
|
||||
barebox_set_model("Voipac VMX53");
|
||||
|
|
|
@ -133,7 +133,6 @@ static int arm2_devices_init(void)
|
|||
|
||||
imx6_add_fec(&fec_info);
|
||||
|
||||
armlinux_set_bootparams((void *)0x10000100);
|
||||
armlinux_set_architecture(3837);
|
||||
|
||||
devfs_add_partition("disk0", 0, SZ_1M, DEVFS_PARTITION_FIXED, "self0");
|
||||
|
|
|
@ -121,7 +121,6 @@ static int sabrelite_devices_init(void)
|
|||
|
||||
sabrelite_ehci_init();
|
||||
|
||||
armlinux_set_bootparams((void *)0x10000100);
|
||||
armlinux_set_architecture(3769);
|
||||
|
||||
imx6_bbu_internal_spi_i2c_register_handler("spiflash", "/dev/m25p0.barebox",
|
||||
|
|
|
@ -81,7 +81,6 @@ static void sabresd_phy_reset(void)
|
|||
|
||||
static int sabresd_devices_init(void)
|
||||
{
|
||||
armlinux_set_bootparams((void *)0x10000100);
|
||||
armlinux_set_architecture(3980);
|
||||
|
||||
devfs_add_partition("disk0", 0, SZ_1M, DEVFS_PARTITION_FIXED, "self0");
|
||||
|
|
|
@ -313,7 +313,6 @@ static int mini2440_devices_init(void)
|
|||
s3c24xx_add_mci(&mci_data);
|
||||
s3c24xx_add_fb(&s3c24x0_fb_data);
|
||||
s3c24xx_add_ohci();
|
||||
armlinux_set_bootparams((void*)S3C_SDRAM_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_MINI2440);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -283,7 +283,6 @@ static int mini6410_devices_init(void)
|
|||
add_dm9000_device(0, S3C_CS1_BASE + 0x300, S3C_CS1_BASE + 0x304,
|
||||
IORESOURCE_MEM_16BIT, &dm9000_data);
|
||||
|
||||
armlinux_set_bootparams((void *)S3C_SDRAM_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_MINI6410);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -111,7 +111,6 @@ static int tiny210_devices_init(void)
|
|||
|
||||
led_set_trigger(LED_TRIGGER_HEARTBEAT, &leds[0].led);
|
||||
|
||||
armlinux_set_bootparams((void*)S3C_SDRAM_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_MINI210);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -76,6 +76,5 @@ void tiny6410_init(const char *bb_name)
|
|||
for (i = 0; i < ARRAY_SIZE(tiny6410_pin_usage); i++)
|
||||
s3c_gpio_mode(tiny6410_pin_usage[i]);
|
||||
|
||||
armlinux_set_bootparams((void *)S3C_SDRAM_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_TINY6410);
|
||||
}
|
||||
|
|
|
@ -127,7 +127,6 @@ static int cupid_devices_init(void)
|
|||
imx35_add_fb(&ipu_fb_data);
|
||||
imx35_add_mmc0(NULL);
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_GUF_CUPID);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -279,7 +279,6 @@ static int neso_devices_init(void)
|
|||
devfs_add_partition("nand0", 0x40000, 0x80000, DEVFS_PARTITION_FIXED, "env_raw");
|
||||
dev_add_bb_dev("env_raw", "env0");
|
||||
|
||||
armlinux_set_bootparams((void *)0xa0000100);
|
||||
armlinux_set_architecture(MACH_TYPE_NESO);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -285,7 +285,6 @@ static int vincell_devices_init(void)
|
|||
|
||||
vincell_fec_reset();
|
||||
|
||||
armlinux_set_bootparams((void *)0x70000100);
|
||||
armlinux_set_architecture(3297);
|
||||
|
||||
devfs_add_partition("nand0", SZ_1M, SZ_512K, DEVFS_PARTITION_FIXED, "self_raw");
|
||||
|
|
|
@ -124,8 +124,6 @@ static int highbank_devices_init(void)
|
|||
devfs_add_partition("ram0", FIRMWARE_DTB_BASE, SZ_64K, DEVFS_PARTITION_FIXED, "firmware-dtb");
|
||||
}
|
||||
|
||||
armlinux_set_bootparams((void *)(0x00000100));
|
||||
|
||||
devfs_add_partition("nvram", 0x00000, SZ_16K, DEVFS_PARTITION_FIXED, "env0");
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -163,7 +163,6 @@ static int mx21ads_devices_init(void)
|
|||
IORESOURCE_MEM, NULL);
|
||||
imx21_add_fb(&imx_fb_data);
|
||||
|
||||
armlinux_set_bootparams((void *)0xc0000100);
|
||||
armlinux_set_architecture(MACH_TYPE_MX21ADS);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -122,7 +122,6 @@ static int imx23_olinuxino_devices_init(void)
|
|||
for (i = 0; i < ARRAY_SIZE(pad_setup); i++)
|
||||
imx_gpio_mode(pad_setup[i]);
|
||||
|
||||
armlinux_set_bootparams((void *)IMX_MEMORY_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_IMX233_OLINUXINO);
|
||||
|
||||
add_generic_device("mxs_mci", DEVICE_ID_DYNAMIC, NULL, IMX_SSP1_BASE,
|
||||
|
|
|
@ -104,7 +104,6 @@ static int mx27ads_devices_init(void)
|
|||
devfs_add_partition("nor0", 0x20000, 0x20000, DEVFS_PARTITION_FIXED, "env0");
|
||||
protect_file("/dev/env0", 1);
|
||||
|
||||
armlinux_set_bootparams((void *)0xa0000100);
|
||||
armlinux_set_architecture(MACH_TYPE_MX27ADS);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -112,7 +112,6 @@ static int tx25_devices_init(void)
|
|||
add_mem_device("sram0", 0x78000000, 128 * 1024,
|
||||
IORESOURCE_MEM_WRITEABLE);
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_TX25);
|
||||
armlinux_set_serial(imx_uid());
|
||||
|
||||
|
|
|
@ -89,7 +89,6 @@ static int tx28_devices_init(void)
|
|||
for (i = 0; i < ARRAY_SIZE(tx28_pad_setup); i++)
|
||||
imx_gpio_mode(tx28_pad_setup[i]);
|
||||
|
||||
armlinux_set_bootparams((void *)IMX_MEMORY_BASE + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_TX28);
|
||||
|
||||
base_board_init();
|
||||
|
|
|
@ -249,7 +249,6 @@ static int tx51_devices_init(void)
|
|||
tx51_leds_init();
|
||||
|
||||
//Linux Parameters
|
||||
armlinux_set_bootparams((void *)MX51_CSD0_BASE_ADDR + 0x100);
|
||||
armlinux_set_architecture(MACH_TYPE_TX51);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -214,7 +214,6 @@ static int tx53_devices_init(void)
|
|||
imx53_add_mmc0(&tx53_sd1_data);
|
||||
imx53_add_nand(&nand_info);
|
||||
|
||||
armlinux_set_bootparams((void *)0x70000100);
|
||||
armlinux_set_architecture(MACH_TYPE_TX53);
|
||||
|
||||
/* rev xx30 can boot from nand or USB */
|
||||
|
|
|
@ -125,7 +125,6 @@ static int mioa701_devices_init(void)
|
|||
docg3_iospace = map_io_sections(0x0, (void *)0xe0000000, 0x2000);
|
||||
add_generic_device("docg3", DEVICE_ID_DYNAMIC, NULL, (ulong) docg3_iospace,
|
||||
0x2000, IORESOURCE_MEM, NULL);
|
||||
armlinux_set_bootparams((void *)0xa0000100);
|
||||
armlinux_set_architecture(MACH_TYPE_MIOA701);
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(leds); i++)
|
||||
|
|
|
@ -63,7 +63,6 @@ static int mmccpu_devices_init(void)
|
|||
devfs_add_partition("nor0", 0x00000, 256 * 1024, DEVFS_PARTITION_FIXED, "self0");
|
||||
devfs_add_partition("nor0", 0x40000, 128 * 1024, DEVFS_PARTITION_FIXED, "env0");
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
armlinux_set_architecture(MACH_TYPE_MMCCPU);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -57,7 +57,6 @@ static int netx_devices_init(void) {
|
|||
|
||||
protect_file("/dev/env0", 1);
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_NXDB500);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -98,7 +98,6 @@ static int nhk8815_devices_init(void)
|
|||
platform_device_register(&nhk8815_nand_device);
|
||||
|
||||
armlinux_set_architecture(MACH_TYPE_NOMADIK);
|
||||
armlinux_set_bootparams((void *)(0x00000100));
|
||||
|
||||
devfs_add_partition("nand0", 0x0000000, 0x040000, DEVFS_PARTITION_FIXED, "xloader_raw");
|
||||
devfs_add_partition("nand0", 0x0040000, 0x080000, DEVFS_PARTITION_FIXED, "meminit_raw");
|
||||
|
|
|
@ -90,7 +90,6 @@ static int omap3evm_init_devices(void)
|
|||
#endif
|
||||
omap3_add_mmc1(NULL);
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_OMAP3EVM);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -158,7 +158,6 @@ static int panda_devices_init(void)
|
|||
panda_ehci_init();
|
||||
|
||||
panda_led_init();
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_OMAP4_PANDA);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -158,7 +158,6 @@ static int pcm027_devices_init(void)
|
|||
|
||||
pxa_add_fb((void *)0x44000000, &fb_pdata);
|
||||
|
||||
armlinux_set_bootparams((void *)0xa0000100);
|
||||
armlinux_set_architecture(MACH_TYPE_PCM027);
|
||||
|
||||
devfs_add_partition("nor0", 0x00000, SZ_512K, DEVFS_PARTITION_FIXED, "self0");
|
||||
|
|
|
@ -195,8 +195,6 @@ static int pcm037_devices_init(void)
|
|||
add_generic_usb_ehci_device(DEVICE_ID_DYNAMIC, MX31_USB_OTG_BASE_ADDR, NULL);
|
||||
add_generic_usb_ehci_device(DEVICE_ID_DYNAMIC, MX31_USB_HS2_BASE_ADDR, NULL);
|
||||
#endif
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_PCM037);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -357,7 +357,6 @@ static int pcm038_devices_init(void)
|
|||
|
||||
if (imx_iim_read(1, 0, &uid, 6) == 6)
|
||||
armlinux_set_serial(uid);
|
||||
armlinux_set_bootparams((void *)0xa0000100);
|
||||
armlinux_set_architecture(MACH_TYPE_PCM038);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -164,7 +164,6 @@ static int pcm043_devices_init(void)
|
|||
|
||||
imx35_add_fb(&ipu_fb_data);
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_PCM043);
|
||||
|
||||
imx_bbu_external_nand_register_handler("nand", "/dev/nand0.barebox",
|
||||
|
|
|
@ -303,7 +303,6 @@ static int pcm049_devices_init(void)
|
|||
dev_add_bb_dev("env_raw", "env0");
|
||||
#endif
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_PCM049);
|
||||
|
||||
if (IS_ENABLED(CONFIG_DRIVER_VIDEO_OMAP))
|
||||
|
|
|
@ -204,7 +204,6 @@ static int pcm051_devices_init(void)
|
|||
}
|
||||
|
||||
omap_set_barebox_part(&pcm051_barebox_part);
|
||||
armlinux_set_bootparams((void *)(AM33XX_DRAM_ADDR_SPACE_START + 0x100));
|
||||
armlinux_set_architecture(MACH_TYPE_PCM051);
|
||||
|
||||
am33xx_bbu_spi_nor_mlo_register_handler("MLO.spi", "/dev/m25p0.xload");
|
||||
|
|
|
@ -150,7 +150,6 @@ static int pcaal1_init_devices(void)
|
|||
IORESOURCE_MEM, NULL);
|
||||
#endif
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_PCAAL1);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -134,7 +134,6 @@ static int pcaaxl2_devices_init(void)
|
|||
dev_add_bb_dev("env_raw", "env0");
|
||||
#endif
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
armlinux_set_architecture(MACH_TYPE_PCAAXL2);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -293,7 +293,6 @@ static int pca100_devices_init(void)
|
|||
devfs_add_partition("nand0", 0x40000, 0x20000, DEVFS_PARTITION_FIXED, "env_raw");
|
||||
dev_add_bb_dev("env_raw", "env0");
|
||||
|
||||
armlinux_set_bootparams((void *)0xa0000100);
|
||||
armlinux_set_architecture(2149);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -149,7 +149,6 @@ static int pm9261_devices_init(void)
|
|||
devfs_add_partition("nor0", 0x00000, 0x40000, DEVFS_PARTITION_FIXED, "self");
|
||||
devfs_add_partition("nor0", 0x40000, 0x10000, DEVFS_PARTITION_FIXED, "env0");
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
armlinux_set_architecture(MACH_TYPE_PM9261);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -132,7 +132,6 @@ static int pm9263_devices_init(void)
|
|||
devfs_add_partition("nor0", 0x00000, 0x40000, DEVFS_PARTITION_FIXED, "self0");
|
||||
devfs_add_partition("nor0", 0x40000, 0x10000, DEVFS_PARTITION_FIXED, "env0");
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
armlinux_set_architecture(MACH_TYPE_PM9263);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -161,7 +161,6 @@ static int pm9g45_devices_init(void)
|
|||
devfs_add_partition("nand0", SZ_256K + SZ_128K, SZ_128K, DEVFS_PARTITION_FIXED, "env_raw");
|
||||
dev_add_bb_dev("env_raw", "env0");
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_6 + 0x100));
|
||||
armlinux_set_architecture(MACH_TYPE_PM9G45);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -203,7 +203,6 @@ static int qil_a9260_devices_init(void)
|
|||
ek_add_device_button();
|
||||
qil_a9260_add_device_mb();
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
qil_a9260_set_board_type();
|
||||
|
||||
devfs_add_partition("nand0", 0x00000, SZ_128K, DEVFS_PARTITION_FIXED, "at91bootstrap_raw");
|
||||
|
|
|
@ -142,7 +142,6 @@ static int rpi_devices_init(void)
|
|||
bcm2835_register_mci();
|
||||
bcm2835_register_fb();
|
||||
armlinux_set_architecture(MACH_TYPE_BCM2708);
|
||||
armlinux_set_bootparams((void *)(0x00000100));
|
||||
rpi_env_init();
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -411,8 +411,6 @@ static int at91sama5d3xek_devices_init(void)
|
|||
ek_add_device_mci();
|
||||
ek_add_device_lcdc();
|
||||
|
||||
armlinux_set_bootparams((void *)(SAMA5_DDRCS + 0x100));
|
||||
|
||||
devfs_add_partition("nand0", 0x00000, SZ_256K, DEVFS_PARTITION_FIXED, "at91bootstrap_raw");
|
||||
dev_add_bb_dev("at91bootstrap_raw", "at91bootstrap");
|
||||
devfs_add_partition("nand0", SZ_256K, SZ_256K + SZ_128K, DEVFS_PARTITION_FIXED, "self_raw");
|
||||
|
|
|
@ -77,7 +77,6 @@ static int scb9328_devices_init(void)
|
|||
devfs_add_partition("nor0", 0x40000, 0x20000, DEVFS_PARTITION_FIXED, "env0");
|
||||
protect_file("/dev/env0", 1);
|
||||
|
||||
armlinux_set_bootparams((void *)0x08000100);
|
||||
armlinux_set_architecture(MACH_TYPE_SCB9328);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -150,8 +150,6 @@ static int evk_devices_init(void)
|
|||
at91_add_device_udc(&evk_udc_data);
|
||||
evk_usb_add_device_mci();
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
|
||||
devfs_add_partition("nand0", 0x00000, BOOTSTRAP_SIZE,
|
||||
DEVFS_PARTITION_FIXED, "bootstrap_raw");
|
||||
dev_add_bb_dev("bootstrap_raw", "bootstrap");
|
||||
|
|
|
@ -229,7 +229,6 @@ static int tny_a9260_devices_init(void)
|
|||
ek_add_device_udc();
|
||||
ek_add_device_spi();
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
tny_a9260_set_board_type();
|
||||
|
||||
devfs_add_partition("nand0", 0x00000, SZ_128K, DEVFS_PARTITION_FIXED, "at91bootstrap_raw");
|
||||
|
|
|
@ -234,7 +234,6 @@ static int tqma53_devices_init(void)
|
|||
imx53_add_mmc1(&tqma53_sd2_data);
|
||||
imx53_add_mmc2(&tqma53_sd3_data);
|
||||
|
||||
armlinux_set_bootparams((void *)0x70000100);
|
||||
armlinux_set_architecture(MACH_TYPE_TQMA53);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -403,7 +403,6 @@ static int usb_a9260_devices_init(void)
|
|||
ek_add_device_button();
|
||||
usb_a9260_device_dab_mmx();
|
||||
|
||||
armlinux_set_bootparams((void *)(AT91_CHIPSELECT_1 + 0x100));
|
||||
usb_a9260_set_board_type();
|
||||
|
||||
devfs_add_partition("nand0", 0x00000, SZ_128K, DEVFS_PARTITION_FIXED, "at91bootstrap_raw");
|
||||
|
|
|
@ -63,7 +63,6 @@ static int vpb_devices_init(void)
|
|||
64 * 1024, IORESOURCE_MEM, &net_pdata);
|
||||
|
||||
armlinux_set_architecture(MACH_TYPE_VERSATILE_PB);
|
||||
armlinux_set_bootparams((void *)(0x00000100));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -46,7 +46,6 @@ static void vexpress_ax_devices_init(void)
|
|||
vexpress_register_mmc(&mmci_plat);
|
||||
add_generic_device("smc911x", DEVICE_ID_DYNAMIC, NULL, 0x1a000000,
|
||||
64 * 1024, IORESOURCE_MEM, NULL);
|
||||
armlinux_set_bootparams((void *)(0x80000100));
|
||||
}
|
||||
|
||||
static void vexpress_ax_console_init(void)
|
||||
|
@ -77,7 +76,6 @@ static void vexpress_a9_legacy_devices_init(void)
|
|||
64 * 1024, IORESOURCE_MEM, NULL);
|
||||
vexpress_a9_legacy_register_mmc(&mmci_plat);
|
||||
armlinux_set_architecture(MACH_TYPE_VEXPRESS);
|
||||
armlinux_set_bootparams((void *)(0x60000100));
|
||||
}
|
||||
|
||||
static void vexpress_a9_legacy_console_init(void)
|
||||
|
|
Loading…
Reference in New Issue