X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fblock%2Fsystemace.c;h=fdf75b5abfc90ea2b9eb4d6afcc53d880ebd81c1;hb=f23d532b638893e44f5cb5f73c394c271d6918be;hp=bf29cbbb7a838b4db49b323a9db06942a07fc1ea;hpb=2d795c9621de274cb0cb8cf4af5941293f89c3be;p=oweals%2Fu-boot.git diff --git a/drivers/block/systemace.c b/drivers/block/systemace.c index bf29cbbb7a..fdf75b5abf 100644 --- a/drivers/block/systemace.c +++ b/drivers/block/systemace.c @@ -2,20 +2,7 @@ * Copyright (c) 2004 Picture Elements, Inc. * Stephen Williams (XXXXXXXXXXXXXXXX) * - * This source code is free software; you can redistribute it - * and/or modify it in source code form under the terms of the GNU - * General Public License as published by the Free Software - * Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -127,6 +114,7 @@ block_dev_desc_t *systemace_get_dev(int dev) systemace_dev.part_type = PART_TYPE_UNKNOWN; systemace_dev.type = DEV_TYPE_HARDDISK; systemace_dev.blksz = 512; + systemace_dev.log2blksz = LOG2(systemace_dev.blksz); systemace_dev.removable = 1; systemace_dev.block_read = systemace_read;