Signed-off-by: Wolfgang Denk <wd@denx.de>
static struct pci_controller hose[] = {
#ifndef CONFIG_PCI_PNP
{ config_table: pci_stxgp3_config_table,},
static struct pci_controller hose[] = {
#ifndef CONFIG_PCI_PNP
{ config_table: pci_stxgp3_config_table,},
-#ifdef CONFIG_MPC85XX_PCI2
+#ifdef CONFIG_MPC85XX_PCI2
+ {},
. = ALIGN(256);
__init_end = .;
. = ALIGN(256);
__init_end = .;
__bss_start = .;
.bss :
{
__bss_start = .;
.bss :
{
case NETLOOP_SUCCESS:
if (NetBootFileXferSize > 0) {
case NETLOOP_SUCCESS:
if (NetBootFileXferSize > 0) {
printf("Bytes transferred = %ld (%lx hex)\n",
NetBootFileXferSize,
NetBootFileXferSize);
printf("Bytes transferred = %ld (%lx hex)\n",
NetBootFileXferSize,
NetBootFileXferSize);
- sprintf(buf, "%lx", NetBootFileXferSize);
+ sprintf(buf, "%lX", NetBootFileXferSize);
setenv("filesize", buf);
sprintf(buf, "%lX", (unsigned long)load_addr);
setenv("filesize", buf);
sprintf(buf, "%lX", (unsigned long)load_addr);